Removes a member from the organisation, and from its teams and projects.
HTTP
DELETE /org/members/{userId}Access: Session token only. API keys get 403 with insufficient_scope.
Role: Organisation owner or admin.
Path parameters #
| Parameter | Description |
|---|---|
userId | The id of the member. |
Response 204 #
The member is removed. There is no body.
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 403 | forbidden | You are not an owner or admin. |
| 404 | not_found | The user is not a member. |
| 409 | cannot_remove | The member is the owner or you. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.