younifyd
Menu

Revoke a role from a group

Revoke a role from a group

POST/v1/authz/groups/{id}/revoke

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Revoke a role from a group action (under authz).
  3. Fill in the fields below, then reference the result from later steps as {{revokeARoleFromAGroup.response.data}}.

Request

Path parameters

idstringrequired

The name of the group.

Request body

Enter the body as JSON in the step's Body field.

rolesarray<string>

The roles to revoke from the specified group.

groupTypestring

If the group contains OIDC or database users.

One ofoidc

json
{
  "roles": [
    "string"
  ],
  "groupType": "oidc"
}

Response

Returns 200 with a any. Read it in later steps with {{revokeARoleFromAGroup.response.data.<field>}}.

Need more? See the Weaviate guide for connection setup and behaviour shared by every action.