Skip to main content
POST
Invite a user

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string
required
Example:

"ana@example.com"

roleId
number
required

ID do papel (GET /v1/roles)

name
string
groupIds
number[]

IDs dos grupos (GET /v1/groups). Exige também a permissão "Gerenciar grupos".

Response

201