younifyd
Menu

Get roles assigned to a user (GET /v1/authz/users/{id}/roles/{userType})

Get roles assigned to a user

GET/v1/authz/users/{id}/roles/{userType}

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Get roles assigned to a user (GET /v1/authz/users/{id}/roles/{userType}) action (under authz).
  3. Fill in the fields below, then reference the result from later steps as {{getRolesAssignedToAUserGetV1AuthzUsersIdRolesUsertype.response.data}}.

Request

Path parameters

idstringrequired

The name of the user.

userTypestringrequired

The type of the user.

One ofoidcdb

Query parameters

includeFullRolesboolean

Whether to include detailed role information like its assigned permissions.

Default false

Response

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

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