Okta Identity Governance
/- Management APIs
- Access Requests - V2
- Update a task
List all tasks
Retrieve a task
Resolve a task
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.
PATCH
curl -i -X PATCH \
https://okta-subdomain.pixtulate.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
Example:"68b0a1576dd8db837f5ee55d"
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
Response
- Task was successfully updated |tooltip| Task assignees were successfully updated. The response includes the updated task assignee details
- Task update was partially successful |tooltip| The task update was partially successful because some of the provided assignee ids were invalid. The task was updated with the valid assignee ids only.
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" }