Remove a member from an organization
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
write_organization
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | write_organization |
Documentation Index
Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The name of the organization
The ID of the user
Query Parameters
Whether to delete all passwords associated with the member. Only available when removing other members (not yourself).
Whether to delete all service tokens associated with the member. Only available when removing other members (not yourself).
Response
Member removed successfully. Note: Cannot remove the last admin or leave your only organization.

