Invite a user
POST https://manage.kontent.ai/v2/projects/:environment_id/users
Invite a new user to your project and assign them a specific role. The user becomes active in the environment you invite them to and deactivates in other environments.
If you invite the user as a Project manager, the user gains access to all environments in a given project.
Endpoint usage requirements:
- Enterprise or Flex plan
- Personal API key with the Invite and manage project members permission
Request Body
{"email"=>"<email>", "collection_groups"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"user_id":"d94bc87a-c066-48a1-a910-4f991ccc1fb5","collection_groups":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}