curl --request DELETE \
--url https://api.example.com/api/roles/{roleId} \
--header 'Authorization: Bearer <token>'{
"status": "ok"
}Deletes a role and removes all associated group assignments.
curl --request DELETE \
--url https://api.example.com/api/roles/{roleId} \
--header 'Authorization: Bearer <token>'{
"status": "ok"
}Personal access token is obtained through your profile
Unique identifier of the role to delete
Confirmation that the role was deleted
Confirmation that the role was deleted
Operation status
ok Was this page helpful?