- Management APIs
- Access Requests - V2
- Update a task
Updates a task by performing actions such as assigning the task to a new set of task assignees.
When you reassign a task, all previous task assignees are replaced with the new set of assignees.
- https://subdomain-okta.login.adsbillinghub.comhttps://subdomain-okta.login.adsbillinghub.com/governance/api/v2/tasks/{taskId}
curl -i -X PATCH \
https://subdomain-okta.login.adsbillinghub.com/governance/api/v2/tasks/68b0a1576dd8db837f5ee55d \
-H 'Content-Type: application/json' \
-d '{
"assignees": [
{
"externalId": "00u1a2b3c4d5e6f7g8h9",
"type": "OKTA_USER"
}
]
}'A successful update task response
The unique identifier for the task
List of task assignees that perform actions on the task
The ISO 8601 formatted date and time when the object was created
The ISO 8601 formatted date and time when the object was last updated
Indicates whether a task is escalated to another user. See Escalate Tasks in the product documentation.
Indicates whether a task is delegated to another user. See Governance delegates in the product documentation.
ID of the original assignee before delegation or escalation
Task assignees were successfully updated. The response includes the updated task assignee details
{ "id": "68b0ed9802df442e8b601807", "assignees": [ { … }, { … } ], "status": "OPEN", "label": "This is an approval task", "requestId": "req42kjDgk1EubTwo0g4", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "APPROVAL" }