comecerodocs

Delete a role

DELETE
/roles/{role_id}

Deletes a role. Users and tokens that list it keep the role_id but no longer get its permissions.

Secret and trusted tokens may call this with the roles delete permission.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

role_id*string

The role's role_id.

Response Body

The role is deleted. No body.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/roles/support'
Example Response
Empty