Organization
DELETE
/workspaces/{id}/members/{memberId}

Removes a member from the workspace, or revokes a pending invite. Pass ?type=invite (with the invite email as memberId) to revoke an invite; type defaults to user. Organization members cannot be removed here.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created under Settings → API & Webhooks.

In: header

Path Parameters

id*string
memberId*string

The member's user id, or the invite email when type is invite.

Query Parameters

type?string

Whether memberId is a user (default) or a pending invite.

Default"user"

Value in

  • "user"
  • "invite"

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/workspaces/string/members/string"
{  "data": {    "ok": true  }}