Delete Workflow Definition
Endpoint: DELETE /api/metadata/workflow/{name}/{version}
Deletes an existing task definition.
Path parameters
Parameter | Description | Type | Required/Optional |
---|---|---|---|
name | The name of the workflow definition to be deleted. | string | Required. |
version | The version of the workflow definition to be deleted. | integer | Required. |
Examples
Delete an existing workflow definition
Delete an existing workflow definition
Request
curl -X 'DELETE' \
'https://<YOUR-CLUSTER>/api/metadata/workflow/api-test/2' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>'
Response
Returns 200 OK, indicating that the particular version of workflow definition has been deleted successfully.