List users under a subscription
GET https://manage.kontent.ai/v2/subscriptions/:subscription_id/users
Retrieve a dynamically paginated list of users under the specified subscription. Includes the users' assignment to projects, environments, collections, roles, and languages.
This endpoint requires Enterprise or Flex plan and the Subscription API key.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
x-continuation | string | Determines the page of results to retrieve. |
To get the next page of results, check the pagination object in the API response and set the x-continuation header parameter to the value of the continuation_token property. |
| Accept | string | | |
RESPONSES
status: OK
{"users":[{"id":"e67eadda-dc58-4bf9-89fc-1dadc0b95858","email":"jonh.doe@exmaple.com","has_pending_invitation":true,"projects":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"environments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"first_name":"John","last_name":"Doe"},{"id":"e67eadda-dc58-4bf9-89fc-1dadc0b95858","email":"jonh.doe@exmaple.com","has_pending_invitation":false,"projects":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"environments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"first_name":"John","last_name":"Doe"}],"pagination":{"continuation_token":"W3sidG9rZW4iOiIrUklEOn...","next_page":"https://manage.kontent.ai/v2/your/chosen/list/endpoint"}}