Workflows
Toggle workflow on or off
Changed onEnables or disables the workflow. Returns nothing. Turning on is refused with the unfinished steps listed under problems until every step is set up.
post/workflow/{workflowId}
Request
- Base URLhttps://www.app.ocoya.com/api/_public/v1
- AuthAPI key in header X-API-Key
Path parameters
workflowIdstring required
Example:cmajvvb9q0003ja5vh0538j6r
Ocoya workflow ID.
Request body
Example request
{
"on": true
}Response
Success. An empty object.
object required
Example response
{}Changes
- breaking
request body became required
- info
api operation id
toggleWorkflowwas added - info
api tag
Workflowsadded - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking