LiftPrincipalStop
POST/admin/v1/customers/:customer_id/principals/:id/lift-stop
LiftPrincipalStop lifts the emergency stop of a directory-mode record. It requires a reason, and it writes one LIFT_PRINCIPAL_STOP audit row with the reason in the transaction of the lift. When the audit row cannot be written, the stop is not lifted. The caller is served again within about 60 seconds. A lift of a caller that is not stopped changes nothing and answers changed false. It refuses a principal that has a project, and a record before the upgrade of the database, as StopPrincipal does.
A lift clears only a stop. It never enables a disabled principal. The caller's API keys work again exactly as before the stop. A key that was revoked, disabled or deleted while the caller was stopped stays refused. A key that expired keeps its expiry.
The stopped person cannot lift their own stop. A lift is refused with PERMISSION_DENIED, and a failed audit row is written, when the caller of this RPC is a user linked to the record, now or at the time of the stop. That holds for a session, for a management key of that user and for an acting user. Another admin with the same permission lifts the stop. A credential that stands for no user, such as a service account or the install's admin secret, is not refused. The admin secret is the break-glass path.
Request
Responses
- 200
Success