Remove a person from the account
Removes the person. An owner can remove anyone; any person can remove
themselves, which is how they leave. The last owner cannot be removed and
cannot leave (409 last_owner). In the same transaction every key the person
minted is revoked, with the keys minted from it, and each gets an
api_key.deleted audit entry with reason member.removed.
People: owner, or the person themselves.
Authentication
AuthorizationBearer
A Meadow API key, sent as Authorization: Bearer mdw_.... The header
x-api-key: mdw_... is accepted in its place.
Path parameters
user_id
The person's user id.
Response
Removed. No body.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error