Menu
Add Default Role To Users
Apply organization default role to all users.
PUT
/v2025-07-11/access/organization/{resourceId}/users/roles/defaultUse it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Add Default Role To Users action (under Access).
- Fill in the fields below, then reference the result from later steps as
{{addDefaultRoleToUsers.response.data}}.
Request
Path parameters
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.
Was this page helpful?