Deletes a role.
DELETE /api/v1/roles/{name} HTTP/1.1 Host: api.example.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Successful deletion.
No content
Updates a role.
Updates a role. Absent fields are left untouched.
Updates the display name of the role.
Sets, if specififed, the new permission statements.
Patches metadata. It has the following semantics:
Bundles a list of permission statements with a name.
PATCH /api/v1/roles/{name} HTTP/1.1 Host: api.example.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 145 { "display_name": "text", "policy": [ { "action": "kafka:ListTopics", "resource": "text", "effect": "allow" } ], "metadata": { "ANY_ADDITIONAL_PROPERTY": "text" } }
Happy response.
{ "name": "text", "display_name": "text", "lrn": "text", "id": "text", "created_at": "2025-05-10T15:23:45.877Z", "policy": [ { "action": "kafka:ListTopics", "resource": "text", "effect": "allow" } ], "metadata": { "ANY_ADDITIONAL_PROPERTY": "text" } }