Remove user from organization

Soft-removes a user from an organization by deactivating their role. Caller must be an admin or billing owner in the organization.

Query Params
string

User ID to remove (alternative to body)

string

Organization ID (alternative to body)

Body Params

User removal data. user_id and organization_id can be provided in the request body or as query parameters. If provided in both, body takes precedence. The caller must be an admin or billing owner in the target organization. Users cannot remove themselves. This performs a soft delete by deactivating the user's role in the organization.

string
string
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json