Manual
CLI
API
Log in Get started free

Remove a member

Removes a member from the organisation, and from its teams and projects.

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 #

ParameterDescription
userIdThe id of the member.

Response 204 #

The member is removed. There is no body.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
403forbiddenYou are not an owner or admin.
404not_foundThe user is not a member.
409cannot_removeThe member is the owner or you.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.