CorebanqCorebanq Developer Docs
R B A C Configuratorv1

Remove Role from Endpoint

Removes a role's access to a specific API endpoint. Administrator role cannot be removed.

POST/v1/rbac/endpoint-role/remove

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/rbac/endpoint-role/remove" \  -H "Content-Type: application/json" \  -d '{    "endpoint": "/v1/customers",    "method": "GET",    "role": "StandardUser"  }'
{
  "message": "Role removed successfully",
  "endpoint": "/v1/customers",
  "method": "GET",
  "role": "StandardUser"
}
Empty
Empty
Empty
Empty
Empty