Unpublish Workflow

The Unpublish Workflow endpoint allows for the deactivation of a specific workflow within an organisation. By using this endpoint, administrators can efficiently unpublish 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 visible, enhancing clarity and simplifying overall management.

Syntax: see Call Structure

Type = 'POST'

'https://connect.cambrionix.com/api/workflows/v1/workflows/workflow-id/unpublish' \

Variable Description
workflow-id This is the id of the workflow as a unique 128-bit number
Returns:

{ "result": [ "success": true } }

Example
curl -X 'POST' \
  'https://connect.cambrionix.com/api/workflows/v1/workflows/00000000-0000-0000-0000-000000000000/unpublish' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsIMTI3IiwiaXC9eNgg0vraKoVe9svxSMQ' \
  -d ''
Returns
{
  "result": {
    "success": true
  }
}
Errors

If there is an error in the API method then JSON-RPC Error Object a will be returned