Skip to main content

Delete Workflow Definition

Endpoint: DELETE /api/metadata/workflow/{name}/{version}

Deletes an existing task definition.

Path parameters

ParameterDescriptionTypeRequired/Optional
nameThe name of the workflow definition to be deleted.stringRequired.
versionThe version of the workflow definition to be deleted.integerRequired.

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.