Skip to content

Delete role

DELETE
/api/v1/roles/{id}
curl --request DELETE \
--url https://example.com/%7B%7Bapp_url%7D/api/v1/roles/1 \
--header 'Authorization: Bearer <token>'

Deletes a single role by ID.

id
required
integer

Role ID

Successful

Unauthorized

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}

Forbidden

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}