Skip to main content
DELETE
Remove a member from an organization

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://app.planetscale.com/oauth/authorize
Token URL
https://auth.planetscale.com/oauth/token

Path Parameters

organization
string
required

The name of the organization

id
string
required

The ID of the user

Query Parameters

delete_passwords
boolean

Whether to delete all passwords associated with the member. Only available when removing other members (not yourself).

delete_service_tokens
boolean

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.