Publish Workflow

The Publish Workflow endpoint allows for the activation of a specific workflow within an organisation. By using this endpoint, administrators can efficiently publish workflows that are ready for use, ensuring the organisation's workflow system remains functional and up-to-date. Proper use of this endpoint ensures that only relevant and finalised workflows are made active, enhancing clarity and improving overall management.

Syntax: see Call Structure

Type = 'POST'

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

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/publish' \
  -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