Skip to main content
POST
/
v1
/
rbac
Create permission
curl --request POST \
  --url https://api.example.com/v1/rbac \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "actor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "user",
  "rec_type": "<string>",
  "permission": "<string>",
  "rec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
actor_id
string<uuid>
required
type
enum<string>
required
Available options:
user,
role
rec_type
string
required
permission
string
required
rec_id
string<uuid>

Response

200

Permission created successfully