younifyd
Menu

Add Default Role To Users

Apply organization default role to all users.

PUT/v2025-07-11/access/organization/{resourceId}/users/roles/default

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the Add Default Role To Users action (under Access).
  3. Fill in the fields below, then reference the result from later steps as {{addDefaultRoleToUsers.response.data}}.

Request

Path parameters

resourceIdstringrequired

The resource ID to scope the access request to. Must be a valid ID for the resource type.

Response

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

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