v1
latestOpenAPI 3.1.02026-07-24318141.2 MBPatch Update a Role
Used to add permissions, and update the key/name of the role. Patch Update adds the supplied permissions to existing ones in the supplied role.
patch/roles/{id}
Path parameters
idstring required
id of the role to be updated
Request body
Response
200
Example response
{
"id": "78d3b9f7-46d2-450c-b41c-293ca460cdb2",
"url": "https://cf-blast-dig.livelikecdn.com/api/v1/rbac/roles/78d3b9f7-46d2-450c-b41c-293ca460cdb2/",
"client_id": "lom9db0XtQUhOZQq1vz8QPfSpiyyxppiUVGMcAje",
"name": "yash01role01",
"key": "yash-temp-role01",
"permissions": [
{
"id": "5e009781-c6fc-4e80-afb2-8e67412548f5",
"url": "https://cf-blast-dig.livelikecdn.com/api/v1/rbac/permissions/5e009781-c6fc-4e80-afb2-8e67412548f5/",
"name": "Create Alert",
"key": "create-alert",
"created_at": "2023-12-29T00:15:49.133000Z"
}
],
"created_at": "2024-02-20T08:29:36.309688Z",
"is_active": true
}