Skip to content

Remove a member from the organization

DELETE
/api/organizations/{organizationId}/members/{id}

Removes a member from the organization. You cannot remove your own membership through this endpoint (rejected with 409), and the last remaining OWNER cannot be removed. Side effects: any pending invitations issued by a departing OWNER or MANAGER are cancelled, and the removed user's API tokens are unscoped from this organization so they can no longer access it.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext).

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

organizationId*

Organization identifier

Type
string
Required
id*

member identifier

Type
string
Required

Responses

member resource deleted

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI