Delete project member

http
DELETE /projects/{project_reference}/members/{user_id}

Removes a member from the project; the last owner cannot be removed, so transfer ownership first. Requires project.members.manage; API keys also need delete scope.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
user_idpathYesUser ID of the project member.

Responses

StatusDescription
200Member removed
400Invalid user ID
401Unauthorized
403Forbidden - insufficient permissions, or the member is the last owner. API keys also require delete scope.
404Project or member not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.