Delete a chart
Deletes a chart. Fails with 409 if the chart has any events bound to it — delete the events first, or duplicate to a new chart and rebind.
curl -X DELETE "http://localhost:3000/api/v1/charts/string"{
"chartKey": "chart_8a2b1c",
"deleted": true
}{
"statusCode": 0,
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}{
"statusCode": 0,
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}{
"statusCode": 0,
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}{
"statusCode": 0,
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}Update a chart PATCH
Patches a chart's draft. Provide `name` and/or `draftVersion` — at least one is required. The update affects the draft only; the published snapshot (if any) is unchanged until you call `/publish`.
Publish a chart POST
Promotes the current draft to a published version, incrementing `publishedVersion`. New events created from this chart will bind to the new published version. Republishing while events exist updates the live layout that events read at request time (events do not carry a snapshot).