Change a person's role
Sets the person’s role. The last owner cannot be given a lower role
(409 last_owner): give another person owner first.
A lower role revokes, in the same transaction, the keys the person minted that
the new role could not mint: every key with the admin scope when they drop
below admin, and every key when they become a viewer. Keys minted from a
revoked key are revoked with it. A drop to member or viewer also revokes
the keys they minted in restricted projects they were not added to. Each
revoked key gets an api_key.deleted audit entry with reason member.updated.
People: owner.
Authentication
A Meadow API key, sent as Authorization: Bearer mdw_.... The header
x-api-key: mdw_... is accepted in its place.
Path parameters
Request
A person’s role in the account. owner: everything, and people. admin:
everything except people. member: keys without the admin scope that they
minted, stopping sandboxes, deleting images, and every read. viewer (shown as
Read-only): every read. The dashboard labels viewer “Read-only”.
Response headers
Meadow’s id for this request, req_ and 24 hex characters. Every response
carries it, including errors, streams and unknown routes. Every error in the
Error schema repeats it as request_id. Quote it when you report a problem.
Response
A person’s role in the account. owner: everything, and people. admin:
everything except people. member: keys without the admin scope that they
minted, stopping sandboxes, deleting images, and every read. viewer (shown as
Read-only): every read. The dashboard labels viewer “Read-only”.