Skip to main content
POST
Invite Users
This endpoint creates direct role assignments for invited users. To manage membership through IDP groups, use the IDP group role management endpoints.

Permissions

Requires a service user with the ManageAccountMembership permission at the enterprise level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Body

application/json
emails
string[]
required
Maximum array length: 100
enterprise_role_id
string
required

Response

Successful Response

email
string | null
required
name
string | null
required
role_assignments
RoleAssignment · object[]
required
user_id
string
required