One-Off Tasks
Complete a one-off task
Sets the task status to Completed. No-op if already completed. Returns the updated task.
post/work/tasks/{taskId}/complete
Path parameters
taskIdstring required
The ID of the One-Off Task
Response
Example response
{
"data": {
"id": "vcbdSaOyh6lth1VHzJRO8Q",
"createdBy": {
"id": "oU4EEGRPtELpR1x1YUJMeQ",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"updatedBy": {
"id": "oU4EEGRPtELpR1x1YUJMeQ",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"assignments": [
{
"user": {
"id": "oU4EEGRPtELpR1x1YUJMeQ",
"email": "jane.doe@example.com",
"username": "Jane Doe"
}
}
],
"linkedWorkflowRun": {
"id": "ntpB6HYW7f-DvzpORfNEiQ",
"templateId": "ntpB6HYW7f-DvzpORfNEiQ"
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}