DELETE
/{orgId}/{itemId}/diagrams/{diagramId}Delete all the versions of a diagram. The diagram version is not deleted if it is being used by existing jobs. The adminBasic or adminAdvanced privilege is required.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
diagram | string | |
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | success | Success |
| 404 | Not Found | error | WorkflowExceptionDTO |
Examples
Request
# You can also use wget
curl -X DELETE /{orgId}/{itemId}/diagrams/{diagramId} \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"success": true
}