Skip to navigation

Remove a person from a project

Removes the person from the project. While it is restricted they stop seeing it from their next request, and the same transaction revokes every live key they minted in it while they are a member or viewer, with the keys minted from them. Each gets an api_key.deleted audit entry with reason project_member.removed. A person who was not added returns 404 member_not_found.

Scope: admin. People: owner or admin.

Authentication

AuthorizationBearer

A Meadow API key, sent as Authorization: Bearer mdw_.... The header x-api-key: mdw_... is accepted in its place.

Path parameters

project_idstringRequired

The project id.

user_idstringRequired
The person's user id.

Response

Removed. No body.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error