Sensitive-action approvals
Sensitive-action approvals
When an action's approval policy is enabled, profile deletion and both series deletion modes require review for OAuth, API-key, and MCP callers. Normal Everyday sign-ins keep their existing permissions. The requester or another authorized organization member approves in Everyday using their usual session.
Call the existing deletion operation normally. HTTP 202 means no deletion has occurred. MCP returns the same body:
Code
Render the server-provided display title and details as plain text, show the returned link and wait. The backend owns action wording; clients should not duplicate it. The link identifies a request and grants no
authority. OAuth/API-key credentials cannot approve it, including through a
direct request to the decision endpoint. Do not add approved, force, or an
approver field to the original mutation.
Read GET /v1/operations/{operation_id} or call MCP getOperationStatus with
pathParams.operation_id. Status reads require requester or approver authority.
| Status | Meaning |
|---|---|
pending | Awaiting the user's decision. |
completed | Use the recorded result; do not repeat the deletion. |
denied | Stop. |
expired | Request fresh approval only if the user wants to continue. |
failed | No partial deletion committed. Inspect the sanitized error code. |
Requests expire after 15 minutes. Identical pending requests reuse an operation;
conflicting parameters return operation_conflict. No idempotency key is needed.
Honor Retry-After when supplied; otherwise poll no more than every five seconds.
Stop after a terminal result. Approval executes independently of the agent.
Profile completion starts the existing 30-day deletion lifecycle; recovery requires support. Series completion means its database deletion committed; external-calendar cleanup can finish later. A later profile DELETE returns 404 once deleted; use operation status to determine an approval request's outcome.
Individual-event deletion and edits remain outside this gate. Browser automation using a first-party session is outside its guarantee. URL elicitation and push delivery are optional future layers; the review link is the baseline.
