{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Rollback an app to a previous deployment. A new deployment will be created to perform the rollback.\nThe app will be pinned to the rollback deployment preventing any new deployments from being created,\neither manually or through Auto Deploy on Push webhooks. To resume deployments, the rollback must be\neither committed or reverted.\n\nIt is recommended to use the Validate App Rollback endpoint to double check if the rollback is\nvalid and if there are any warnings.\n","properties":{"path":{"type":"object","properties":{"app_id":{"type":"string","examples":["4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"],"description":"The app ID"}},"required":["app_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/apps_rollback_app_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"apps_rollback_app_request":{"type":"object","properties":{"deployment_id":{"type":"string","description":"The ID of the deployment to rollback to.","examples":["3aa4d20e-5527-4c00-b496-601fbd22520a"]},"skip_pin":{"type":"boolean","description":"Whether to skip pinning the rollback deployment. If false, the rollback deployment will be pinned and any new deployments including Auto Deploy on Push hooks will be disabled until the rollback is either manually committed or reverted via the CommitAppRollback or RevertAppRollback endpoints respectively. If true, the rollback will be immediately committed and the app will remain unpinned.","examples":[false]}}}}},"name":"Rollback App","id":"digitalocean.apps_create_rollback","example":{"path":{"app_id":"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"},"body":{}},"maxRequests":1,"summary":false}}