Delete Workflow
Deletes a workflow with a given ID. If the workflow is referenced by some other workflows, or is running, it is considered to be 'in use' and the delete operation will fail, unless the 'force' option is provided.
Request
URI
DELETE
https://{api_host}/vco/api/workflows/{workflowId}
COPY
Path Parameters
string
workflowId
Required
workflowId
Query Parameters
boolean
force
Optional
Constraints:
default: false
force
boolean
forceDeleteLocked
Optional
Constraints:
default: false
forceDeleteLocked
Responses
200
The request is successful
Operation doesn't return any data structure
401
The user is not authorized
Operation doesn't return any data structure
404
Can not find a workflow with the specified ID.
Operation doesn't return any data structure
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/vco/api/workflows/{workflowId}
Workflow Service Operations
GET
Get All Workflows
POST
Import Workflow
PUT
Validate
GET
Get Workflow
GET
Download Workflow Schema Content
GET
Download Workflow Icon
GET
Get Permissions For Object
POST
Insert Permissions For Object
DELETE
Delete Permissions For Object
GET
Get Permission Rule
PUT
Update Permission Rule
DELETE
Delete Permission Rule
GET
Download Workflow Schema
DELETE
Delete Workflow
GET
Get All User Interactions For Workflow
GET
Get All Tasks For Workflow
GET
Validate Existing