Menu
Assign a role to a group
Assign a role to a group
POST
/v1/authz/groups/{id}/assignUse it in a workflow
- Add a step and choose the Weaviate connector.
- Pick the Assign a role to a group action (under authz).
- Fill in the fields below, then reference the result from later steps as
{{assignARoleToAGroup.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"roles": [
"string"
],
"groupType": "oidc"
}
Response
Returns 200 with a any. Read it in later steps with {{assignARoleToAGroup.response.data.<field>}}.
Need more? See the Weaviate guide for connection setup and behaviour shared by every action.
Was this page helpful?