Restore smart bundle revision

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

ParameterTypeRequiredDescription
bundleIdstringYesThe ID of the smart bundle to restore a revision for.
revisionIdstringYesThe ID of the revision to restore.

Headers

HeaderValue
AuthorizationBearer <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": []
}