Workflows
Archives a workflow
Changed onArchive a workflow to deactivate it.
patch/api/v2/workflows/{id}/archive
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/workflows/{id}/archive
- Authnone declared
Path parameters
idstring required
ID
Response
Single workflow
Example response
{
"data": {
"id": "75",
"type": "workflows",
"attributes": {
"name": "Default Workflow",
"archived_at": null
},
"relationships": {
"workflow_statuses": {
"data": [
{
"type": "workflow_statuses",
"id": "224"
},
{
"type": "workflow_statuses",
"id": "225"
},
{
"type": "workflow_statuses",
"id": "226"
}
]
}
}
},
"included": []
}Changes
- warning
added the new
project_already_exportedenum value to the//response property for the response status
- warning
- 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 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