ghl_clientportal_restore_mobile_customization_revision
Restores an earlier mobile app customization revision by saving a copy as the newest revision, so you can revert changes and republish to members.
Instructions
CLIENT PORTAL AI BUILDER API (/ai-builder-api) — side-effecting: opens/edits sandboxes and starts builds. Edit a sandbox only once sandbox.status is ready; checkpoint after edits and before starting the run that builds them; 409 means a cloud build owns the sandbox or it is not running.
Return a phone app to an earlier revision.
Saves a copy of the earlier revision, screens included, as the newest one. Members get it once you publish it with POST .../app-config/publish.
Endpoint: POST /ai-builder-api/projects/{projectId}/app-config/revisions/{revision}/restore (Version header: v3; source: v3/clientportal-ai-v3.json)
OAuth scopes: clientportal-ai.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| revision | Yes | The earlier revision to return to, from the app's revisions. | |
| projectId | Yes | The app's id. | |
| Idempotency-Key | Yes | A key you choose for this restore. Retrying with the same key returns the same restore instead of a second one. |