Skip to main content
DELETE
/
api
/
roles
/
{roleId}
Delete role
curl --request DELETE \
  --url https://api.example.com/api/roles/{roleId} \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

roleId
string<uuid>
required

Unique identifier of the role to delete

Response

200 - application/json

Confirmation that the role was deleted

Confirmation that the role was deleted

status
enum<string>
required

Operation status

Available options:
ok