POST
/
rbac
/
roles
curl --request POST \
  --url https://api.wapikit.com/api/rbac/roles \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "permissions": [
    "Get:OrganizationMember"
  ]
}'
{
  "role": {
    "uniqueId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "permissions": [
      "Get:OrganizationMember"
    ]
  }
}

Body

application/json

new organization role info

The body is of type object.

Response

200
application/json

role object

The response is of type object.