For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove Member

Remove a member from a tenant. This deletes their tenant role and clears their policies for that tenant. If the email is only on the seat-denied list, it is cleared from that list instead.

You cannot remove yourself. To get a list of all tenant members, you can use the List Seats Usage API call

Endpoint

POST /api/rbac/member/remove

Authentication

This endpoint requires API Key authentication via the Authorization header. The caller must have the admin role on the tenant.

Headers

Header

Required

Description

Authorization

Yes

Bearer token with your API key

Content-Type

Yes

Must be application/json

X-Tenant-UUID

Yes

Tenant UUID (from the app URL tenantUUID=…, or Settings → Access)

Request Body

{
  "email": "string"
}

Parameters

Parameter

Type

Required

Description

email

string

Yes

Email of the member to remove

Response

On success the response body is empty (200).

Status

Meaning

200

Member removed (or cleared from the seat-denied list)

400

Bad request, or caller tried to remove themselves

403

Caller is not an admin

404

Member not found in this tenant

Removal is scoped to X-Tenant-UUID. The user may still belong to other tenants.

Examples

Basic Request

Last updated