Assign Permissions To Role

Scopes
write:role

Path Parameters

role_id
string
REQUIRED

Role id

Request Body

array<string>
REQUIRED

Array of Permission Ids

POST
/roles/{role_id}/permissions
1
2
3
4
5
Loading...
Response:
200
Loading...

Response Body Schema

description
string

Additional information for the permission

id
string
REQUIRED

Unique identifier of entity

name
string
REQUIRED

Permission identifier. This field is unique and cannot contain spaces. Ex. read:user