Skip to Content

Remove a member from the workspace

You're viewing API version 2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.
DELETE
/api/v1/members/{userId}

Remove a member from the workspace. This revokes their access to this workspace only — it does not remove them from the organization. You cannot remove yourself.

Permission required: MANAGE_WORKSPACE_MEMBERS on the workspace.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Path Parameters

userId*string

Header Parameters

authorization*string

Bearer token for API authentication

Idempotency-Key?string

Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.

Lengthlength <= 255

Response Body

200

application/json
  1. response
success*boolean
Example Request
curl -X DELETE 'https://app.sajn.se/api/v1/members/string' \  -H 'authorization: string'
Example Response
{  "success": true}

Was this page helpful?