User Admin Invitations
The users endpoint supports operations to send administrator invitations to users.
User invitations data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
Optional |
Mutable |
The URL where the invited user can accept the invitation. |
|
String |
Optional |
Mutable |
How long the invite is valid for, represented in minutes. |
|
Boolean |
Required |
Mutable |
Indicates if the invitation is an admin invitation. |
For more user property descriptions, refer to the Users data model.
Admin invitation errors
In addition to the general error codes, admin invitation operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: Describes the failing field, such as |
400 |
|
|
Message: When and detailsWhen: A resend request targets a user without an email address, or the invite or its expiration is missing and it is considered expired (internal accept and lookup operations) Details: |
400 |
|
|
Message: When and detailsWhen: A request body cannot be deserialized as JSON Details: |
400 |
|
None |
Message: When and detailsWhen: A path identifier cannot be parsed as a UUID Details: None. |
403 |
|
|
Message: When and detailsWhen: The environment’s licensed product does not support sending an invite code message Details: |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the Details: None. |
404 |
|
None |
Message: When and detailsWhen: The user ID or environment ID in the request URL does not exist Details: None. |