Approve or roll back a safe update
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(approveorrollback, 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:
actionis missing or is notapproveorrollback.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
siteAction
Request
This endpoint expects an object.
action
Response
200 - Safe upgrade approved
data
jsonapi
