Remove participant from project

delete/projects/{projectId}/participants/{participantId}
Internal-Use Only

Removes the specified participant from the project. This does not delete the identity from the Identities service. If the corresponding identity is deleted from the Identity service, an event is generated and any associated participants are deleted. Since a project must have at least one owner, the last owner cannot be deleted. It is possible that the last owner could be removed if the corresponding identity is deleted from the Identities service. The project would be visible only to administrators who can delete the project or add a new owner.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
participantId
string
true

The identifier of a specific participant.

projectId
string<object-id>
true

The identifier of a specific project.

Responses

StatusMeaningDescription
204No ContentThe participant was removed.
400Bad RequestThe request was invalid. Cannot delete the last owner. A project must have at least one owner.Schema
404Not FoundThe project or participant does not exist.Schema