Skip to navigation

Approve or roll back a safe update

View as MarkdownOpen in Claude

Gives your verdict on a safe update that is waiting for your decision (status requires_action): approve it to keep the update, or roll it back to restore the website as it was. A safe update that nobody decides within 7 days of starting to wait is approved automatically. Returns the site action after the decision, with its details.

Body

  • action (approve or rollback, required): your verdict.

Errors

  • 404: the site action does not exist, is not one of your organization’s, or is not waiting for a decision.
  • 422: action is missing or is not approve or rollback.

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