Menu
Delete User Attributes
Delete User Attributes
DELETE
/v2026-04-27/organizations/{organizationId}/users/{sanityUserId}/attributesUse it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Delete User Attributes action (under User Attributes).
- Fill in the fields below, then reference the result from later steps as
{{deleteUserAttributes.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"attributes": [
{
"key": "string"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{deleteUserAttributes.response.data.<field>}}.
{
"sanityUserId": "user-xyz",
"organizationId": "org-123",
"attributes": [
{
"type": "string",
"key": "location",
"values": {
"saml": "US",
"sanity": "UK"
},
"activeSource": "saml",
"activeValue": "UK"
}
],
"updatedAt": "2025-11-26T19:30:00.000Z"
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?