Discard a draft version
If you're not happy with a draft version, you can choose to discard it. Discarding means deleting the draft version. This cannot be undone!
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
POST https://api-{region}.seatsio.net/charts/{chartKey}/version/draft/actions/discard
$seatsioClient->charts->discardDraftVersion("4250fffc-e41f-c7cb-986a-2c5e728b8c28");
await Client.Charts.DiscardDraftVersionAsync("4250fffc-e41f-c7cb-986a-2c5e728b8c28");
client.charts.discardDraftVersion("4250fffc-e41f-c7cb-986a-2c5e728b8c28");
client.charts.discard_draft_version("4250fffc-e41f-c7cb-986a-2c5e728b8c28")
client.charts.discard_draft_version("4250fffc-e41f-c7cb-986a-2c5e728b8c28")
await client.charts.discardDraftVersion('chartKey');
err := client.Charts.DiscardDraftVersion("chartKey")
curl -X POST https://api-{region}.seatsio.net/charts/749b9650-24fb-11e7-93ae-92361f002671/version/draft/actions/discard \
-u aSecretKey: