Set Assignee in a Provisioning Task
A user can use this OIG Self Service REST API to set assignee in a provisioning task using the following URI:
-
/provtasks/<task_id> PUT
: This sets assignee in a provisioning task.
cURL Example
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X PUT -u username:password -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/3009
PUT Request Body
{ "action": "reassign", "fields": [ { "name": "assignee", "value": "23" }, { "name": "type", "value": "user" } ] }
PUT Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/provtasks/3009" } ], "id": "3009", "status": "SUCCESS" }