Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
API Reference
Toggle workflow on or off
Enables or disables the workflow. Returns nothing. Turning on is refused with the unfinished steps listed under problems until every step is set up.
Toggle workflow on or off
curl --request POST \
--url https://www.app.ocoya.com/api/_public/v1/workflow/{workflowId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"on": true
}
'{}Authorizations
Response
application/json
Success. An empty object.
Was this page helpful?