CorebanqCorebanq Developer Docs
Rolesv1

Delete role

Delete a role

DELETE/v1/roles/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

id path parameter

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/roles/string"
Empty
{
  "code": "roles_m.cannot_modify_system_role",
  "message": "Cannot modify system role"
}
{
  "code": "roles_m.role_not_found",
  "message": "Role not found"
}
{
  "code": "roles_m.role_in_use",
  "message": "Role is still in use"
}