Passer au contenu principal
GET
/
members
List members
curl --request GET \
  --url https://{tenantDomain}/my-org/v1/members \
  --header 'Authorization: Bearer <token>'
{
  "members": [
    {
      "user_id": "auth0|123234235",
      "roles": [
        {
          "id": "rol_BKI0BKI0BKI0BKI0",
          "name": "role1"
        },
        {
          "id": "rol_BKW1BKIfBKd0BaI0",
          "name": "role2"
        }
      ],
      "email": "roadrunner@acme.com"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de requête

fields
string

Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. The 'roles' field is only returned when the token also carries the read:my_org:member_roles scope; without that scope 'roles' is omitted from the response.

Required string length: 1 - 255
include_fields
boolean
défaut:true

Whether specified fields are to be included (true) or excluded (false). Defaults to true

from
string

An optional cursor from which to start the selection (exclusive).

Required string length: 1 - 1000
take
integer
défaut:50

Number of results per page. Defaults to 50.

Plage requise: 1 <= x <= 100

Réponse

List members for an organization.

next
string

Pagination cursor for the next page of results.

members
object[]