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

Path Parameters

id
string
required

The id value of the role you want to update.

Body

application/json

update an organization role info

The body is of type object.

Response

200
application/json

role object

The response is of type object.