Delete Workflow
The Delete Workflow endpoint allows for the removal of a specific workflow from an organisation. By using this endpoint, administrators can efficiently delete workflows that are no longer needed or relevant, ensuring the organisation's workflow system remains streamlined and up-to-date. Proper use of this endpoint ensures that only active and necessary workflows are retained, reducing potential confusion and improving overall management.
Syntax: see Call Structure
Type = 'DELETE'
'https://connect.cambrionix.com/api/workflows/v1/workflows/workflow-id' \ |
Variable | Description |
---|---|
workflow-id | This is the id of the workflow as a unique 128-bit number |
Returns:
{ "result": [ "success": true } } |
Example
curl -X 'DELETE' \
'https://connect.cambrionix.com/api/workflows/v1/workflows/00000000-0000-0000-0000-000000000002' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJSUz1LTk0ZTktNDA0MS05ZDhmLWQxOsvxSMQ'
Returns
{
"result": {
"success": true
}
}
Errors
If there is an error in the API method then JSON-RPC Error Object a will be returned