Menu
Remove permissions from a role
Remove permissions from a role
POST
/v1/authz/roles/{id}/remove-permissionsUse it in a workflow
- Add a step and choose the Weaviate connector.
- Pick the Remove permissions from a role action (under authz).
- Fill in the fields below, then reference the result from later steps as
{{removePermissionsFromARole.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"permissions": [
{
"action": "manage_backups",
"backups": {
"collection": "*"
},
"data": {
"collection": "*",
"tenant": "*",
"object": "*"
},
"nodes": {
"verbosity": "minimal",
"collection": "*"
},
"users": {
"users": "*"
},
"groups": {
"group": "*",
"groupType": "oidc"
},
"tenants": {
"collection": "*",
"tenant": "*"
},
"roles": {
"role": "*",
"scope": "match"
},
"collections": {
"collection": "*"
},
"replicate": {
"collection": "*",
"shard": "*"
},
"aliases": {
"collection": "*",
"alias": "*"
},
"namespaces": {
"namespace": "*"
}
}
]
}
Response
Returns 200 with a any. Read it in later steps with {{removePermissionsFromARole.response.data.<field>}}.
Need more? See the Weaviate guide for connection setup and behaviour shared by every action.
Was this page helpful?