Remove a user
Removes a user from the workspace: they lose access, their campaigns stop, and their connected mailboxes disconnect. Their records stay in the workspace. The last user and the last admin cannot be removed.
Authorization
bearer User access token authentication. Every endpoint accepts it, and endpoints that act as a person accept only it. Send a WorkOS access token in the Authorization header as: Bearer <token>.
In: header
Path Parameters
The workspace slug — the {slug} segment of your Clarify workspace URL.
The unique ID of the user.
Query Parameters
When true, suppresses in-app and Slack notifications for this mutation and batches its live updates, so open views can lag by up to 20 seconds.
Header Parameters
The API version for this request. Send 2026-10 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.
Response Body
curl -X DELETE "https://example.com/workspaces/string/users/string" \ -H "clarify-version: 2026-10"List users
Returns the workspace’s users as a paginated JSON:API list. Each user includes their roles.
Update a user
Sets a workspace user’s name and returns the updated user as a JSON:API resource. Users can rename themselves, including with an API key bound to them; renaming someone else needs a workspace admin signed in with a user access token. The name then survives later sign-ins.