Delete Service From Workflow
The Delete Service from Workflow API endpoint enables administrators to remove a specific service from an existing workflow within their organisation. This endpoint is essential for maintaining streamlined and efficient workflows by allowing the removal of unnecessary or outdated services. By using this feature, organisations can ensure their workflows remain relevant, reduce complexity, and optimise overall performance. This functionality supports better workflow management, adaptability to changing requirements, and improved operational consistency.
Syntax: see Call Structure
Type = 'DELETE'
'https://connect.cambrionix.com/api/workflows/v1/workflows/workflow-id/services/workflow-service-id' \ |
Variable | Description |
---|---|
workflow-id | This is the id of the workflow as a unique 128-bit number |
workflow-service-id | This is the id of the workflow service 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/services/00000000-0000-0000-0000-000000000056' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NCG-STg'
Returns
{
"result": {
"success": true
}
}
Errors
If there is an error in the API method then JSON-RPC Error Object a will be returned