Organization members
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 |
delete/organizations/{organization}/members/{id}
Path parameters
organizationstring required
The name of the organization
idstring required
The ID of the user
Query parameters
delete_passwordsboolean
Whether to delete all passwords associated with the member. Only available when removing other members (not yourself).
delete_service_tokensboolean
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.