Remove a member
Removes a member (admin role), or yourself. The owner cannot be removed. Site keys the member created stop working.
Related: List members and Change a member’s role in Team.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
userIdstringrequiredPattern: ^[a-f0-9]{24}$
Headers
AuthorizationstringrequiredBearer followed by an account token with the team:write scope.
Response
Removed.
{
"status": "string",
"data": {
"removed": "string"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.removed | true |