cdp_clone_resource
Create a copy of any CDP resource instance with a new ID, supporting campaigns, workflows, connectors, predictions, reports, and other versioned resources.
Instructions
Clone any CDP resource instance. Creates a copy with a new ID and returns the cloned object. Works on any resource that supports versioning (campaigns, workflows, connectors, predictions, reports, etc.). The resource_path must include the ID, e.g. 'campaigndefs/123'. Set path_style to 'none' for campaign/config/connector resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | ||
| tenant_id | No | ||
| path_style | No | v2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |