R B A C Configuratorv1
Export Endpoint to Seed YAML
Generates a YAML seed snippet for the current permissions of a specific endpoint
GET
/v1/rbac/endpoint-role/export/{method}/{endpoint}Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
method*string
endpoint*string
Response Body
text/yaml
curl -X GET "https://example.com/v1/rbac/endpoint-role/export/GET//v1/customers"" - endpoint: /v1/customers\n method: GET\n roles:\n - User\n - StandardUser\n description: \"GET /v1/customers\"\n"Empty
Empty
Empty
Empty
Empty
Assigns one or more roles to a specific API endpoint. Existing assignments are preserved (additive). **Important:** This operation is atomic - if ANY role fails to assign (e.g., role not found), the ENTIRE operation is rejected and NO roles are assigned. This prevents partial/inconsistent permission states.
Removes a role's access to a specific API endpoint. Administrator role cannot be removed.