Copy draft version

Use this call to create a copy of a chart, based on the draft chart version. The draft version of the source chart is used as the published version of the new chart.

The chart name and tags are copied as well.

Note that the new chart name will have " (copy)" appended to it. E.g. if the original chart name was "My Super Chart", the copy's name will be "My Super Chart (copy)".

Events linked to the original chart and the published version are not copied.

The response contains the chartKey of the new chart. You can store this in your database, and use it to refer to the newly created chart in the future.

POST https://api-{region}{chartKey}/version/draft/actions/copy
curl -X POST https://api-{region} \
-u aSecretKey:
"tags": ["tag1", "tag2"],
"archived": false,
"publishedVersionThumbnailUrl": ""