younifyd
Menu

List Organization Role Assignments

List organization members

GET/organizations/{organizationId}/acl

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the List Organization Role Assignments action (under Roles).
  3. Fill in the fields below, then reference the result from later steps as {{listOrganizationRoleAssignments.response.data}}.

Request

Path parameters

organizationIdstringrequired

The ID of the organization

Query parameters

roles[]array<string>

Only return members who have at least one of these roles. Use the `roles[]` form, for example `?roles[]=administrator`. A single plain `?roles=administrator` returns `400` with the message `roles must be an array`.

Response

Returns 200 with a array<object>. Read it in later steps with {{listOrganizationRoleAssignments.response.data.<field>}}.

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