Activate a workflow
PUT/workflows/activate
Reactivates a workflow that was previously disabled by the Disable Workflow endpoint. This endpoint requires a specified WorkflowId and returns a success/failure.
Request
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
- application/json
Body
userId stringrequired
The Id of the user you want to lookup. Returned from the Create User endpoint. Note: you can also use the Embedded user's username in this field.
workflowName string
The name of the workflow to activate. If you pass this parameter, then workflowId is not required.
workflowId string
The Id of the workflow to activate. If you pass this parameter, then workflowName is not required.
Responses
- 200
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
activated boolean
Default value: true
{
"activated": true
}
{
"activated": true
}
Loading...