Invite a user

Requires the USER.MORTAL.CREATE permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version

Headers

x-platform-idstringOptional
Platform ID.

Request

This endpoint expects an object.
usernamestringRequired
entity_idstringRequired
account_membershipslist of objectsRequired
team_membershipslist of objects or nullOptional

Response

OK
usernamestring
entity_idstring
account_membershipslist of objects
team_membershipslist of objects or null

Errors

401
Unauthorized Error
403
Forbidden Error