DELETE
/api/v1/spaces/{space}/members/{member}Remove a member from a space
Deletes a membership from a space, removing the member. A member can delete their own membership to leave the space.
spacestringrequired
The identifier of the space containing the membership.
memberstringrequired
The identifier of the membership to remove.
200Returns an empty response confirming that the membership was removed.
defaultDefault error response
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Error handling
The space path parameter must identify the space, and the member path parameter must identify the membership to remove. A member can use this operation to delete their own membership and leave the space.
