API Guide

Table Of Contents
Response 200
{
Ê "/a/path/to/endpoint1" : [ "GET" ],
Ê "/a/path/to/endpoint2" : [ "PATCH", "POST" ],
Ê ".*" : [ "GET", "POST", "PATCH", "DELETE" ]
}
3.27.3. Modify the Role-Based Authentication configuration for this role
PATCH /permissions/{rbac_role}
Description
To add/remove a path pattern rule, use an add/remove patch with path "/" and value
"/path/pattern". A new path pattern rule is created with all verbs forbidden. To permit/forbid a verb
at an existing path pattern, use an add/remove patch with path "/path/pattern" and value "verb".
Parameters
Type Name Description Schema
Path
rbac_role
required
The name of the role string
Body
permission_pa
tch_payload
required
< JsonPatchOp >
array
Responses
HTTP
Code
Description Schema
200 The updated permissions Permission
Example HTTP response
Response 200
{
Ê "/a/path/to/endpoint1" : [ "GET" ],
Ê "/a/path/to/endpoint2" : [ "PATCH", "POST" ],
Ê ".*" : [ "GET", "POST", "PATCH", "DELETE" ]
}
103