cdp_set_current_version
Roll back any CDP resource to a specific version by retrieving version N and setting it as current. Works on versioned resources like workflows, campaigns, and connectors.
Instructions
Roll back any CDP resource to a specific version. Equivalent to GET version N then PUT as current. Returns the new version number. Works on any versioned resource. The resource_path must include the ID, e.g. 'workflows/456'. Set path_style to 'none' for campaign/config/connector resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | ||
| version | Yes | ||
| tenant_id | No | ||
| path_style | No | v2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |