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:

Request Body

{"email"=>"<email>", "collection_groups"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;user_id&quot;:&quot;d94bc87a-c066-48a1-a910-4f991ccc1fb5&quot;,&quot;collection_groups&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}