Skip to main content
POST
/
api
/
permissions
Add permissions to users or groups
curl --request POST \
  --url https://api.example.com/api/permissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    "<string>"
  ],
  "permissions": [
    "<string>"
  ]
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Body

application/json
emails
string[]
required
permissions
string[]
required

Response

Successful Response

message
string
required