Restores a previously saved revision of a smart bundle, overwriting the current bundle data with the revision's fields.
Requires the smartbundle:revisions:write permission (or the broader smartbundle.write permission).
Request
PUT /smart-bundle/{bundleId}/restore-revision/{revisionId}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bundleId | string | Yes | The ID of the smart bundle to restore a revision for. |
revisionId | string | Yes | The ID of the revision to restore. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Response
Returns the updated smart bundle after the revision has been applied.
Example Response
{
"id": "bundle-uuid-1",
"title": "Summer Campaign Bundle",
"identifier": "summer-campaign",
"slots": []
}
