Retrieve a user

GET https://manage.kontent.ai/v2/subscriptions/:subscription_id/users/:user_identifier

Retrieve metadata about a specified user under the specified subscription. The metadata includes information about the user's access to projects and environments, and content in specific collections, roles, and languages.

This endpoint requires Enterprise or Flex plan and the Subscription API key.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"id":"e67eadda-dc58-4bf9-89fc-1dadc0b95858","email":"jonh.doe@exmaple.com","has_pending_invitation":true,"projects":[{"id":"a7d24131-b0c5-4dda-ad78-c0b409951493","name":"Sample project","environments":[{"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"},"is_user_active":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"collection_groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"last_activity_at":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"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"},"is_user_active":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"collection_groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"last_activity_at":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}],"first_name":"John","last_name":"Doe"}