Disable a member for a project

View as MarkdownOpen in Claude
Removes a member's access to a root project and its subprojects. The call is idempotent: repeating it for a project the member is not enabled for still returns `204`. #### Permissions Authenticate with a [Personal access token](/docs/apis/authorization#personal-access-tokens) 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

AuthorizationBasic
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, is prefixed `pat_`, and has no scopes. 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(:pat_...) ```

Path parameters

member_idstringRequiredformat: "uuid"
The unique identifier of the membership.
project_idstringRequiredformat: "uuid"

The unique identifier of a root project. A subproject is rejected with subproject_access_is_inherited_from_root, since access to a root project already includes all of its subprojects.

Response

There is no content to send for this request, but the headers may be useful.

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error