メインコンテンツへスキップ
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"
    }
  ]
}

承認

Authorization
string
header
必須

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

クエリパラメータ

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
デフォルト: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
デフォルト:50

Number of results per page. Defaults to 50.

必須範囲: 1 <= x <= 100

レスポンス

List members for an organization.

next
string

Pagination cursor for the next page of results.

members
object[]