Remove a member
Removes a member from the space. The owner cannot be removed
(cannot_remove_the_owner), and you cannot remove your own membership
(cannot_remove_yourself).
Permissions
Authenticate with a Personal access token whose holder is an owner or admin of the space. A project API token is not accepted on this endpoint, and a Personal access token has no scopes: the holder’s role in the space is the whole authorization decision.
Authentication
Personal access token authentication for space-wide administration.
Send HTTP Basic auth with an empty username and the Personal access token as
the password. A Personal access token carries your own authority rather than a
project’s: it is created from your user menu in the Dashboard and has no
scopes. New tokens are prefixed swpat_; tokens created before that format
are prefixed pat_ and keep working. The holder must be an owner or admin of
the space named by the subdomain, and the token acts only on that space.
Example:
Authorization: Basic base64(:swpat_...)