admin
Update Deployment User
Deactivate or reactivate an account, or change whether it may administer this deployment.
Both fields are optional and omitting one leaves it alone; a body naming neither is refused rather than treated as a no-op. Deactivating also ends that account's dashboard sessions immediately, so a lost laptop stops working now rather than when its cookie is next presented.
Two changes are refused to keep a deployment reachable: an operator may not deactivate their own account or drop their own operator access, and neither may be taken from the deployment's bootstrap operator, which is the identity master-key sign-in resolves to. Granting either is unguarded.
patch/v1/admin/users/{user_id}
Path parameters
user_idstring uuid required
Request body
Response
Successful Response