Validate site action

View as MarkdownOpen in Claude
The human verdict on a safe upgrade waiting in `REQUIRES_ACTION`.\n\nBody parameters:\n- `action` (string, required): `approve` | `rollback`.\n\n200 with the action after the decision, with its detail fields, so the client sees the validation step closed.\n\n- **422**: `action` missing or outside `approve`/`rollback`.\n- **404**: the action does not exist, is not reachable from the token's organization, or is not currently `requires_action` (the policy denies as not found in that case).\n- **403**: a read-only token.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

siteActionstringRequired

Request

This endpoint expects an object.
actionstringOptional

Response

200 - Safe upgrade approved

dataobjectOptional
jsonapiobjectOptional