POST
/
admin
/
users
/
invites

Authorizations

x-portkey-api-key
string
headerrequired

Body

application/json
email
string
required
role
enum<string>
required
Available options:
admin,
member
workspaces
object[]

Array of workspaces and roles that the user should be assigned to, if provided, once the invite is accepted. By default, the user will only be added in the shared workspace.

workspace_api_key_details
object

If provided, a default user API key will be created with the specified settings for each workspace in the workspaces array.

Response

200 - application/json
id
string
invite_link
string