- Management APIs
- Access Requests - V2
Updates a request with the specified requestId
- https://subdomain-okta.login.adsbillinghub.comhttps://subdomain-okta.login.adsbillinghub.com/governance/api/v2/requests/{requestId}
curl -i -X PATCH \
https://subdomain-okta.login.adsbillinghub.com/governance/api/v2/requests/reqp1pmpjhVdGEcVK1d5 \
-H 'Content-Type: application/json' \
-d '{
"status": "CANCELED"
}'A successful update request response
The id of the Okta user who created the resource
The ISO 8601 formatted date and time when the resource was created
The ISO 8601 formatted date and time when the object was last updated
The id of the Okta user who last updated the object
The status of the request
The date the request was resolved. The property may transition from having a value to null if the request is reopened.
The grant status of the request
The date the approved access was granted. Only set if request.status is APPROVED.
The revocation status of the request
The date the granted access was revoked. Only set if request.grantStatus is GRANTED and request.revocationStatus is REVOKED.
How long the requester retains access after their request is approved and fulfilled.
Specified in ISO 8601 duration format.
Only single time unit ISO 8601 duration formats (D, H, M) are supported for units (days, hours, minutes).
| Unit | Example |
|---|---|
| D, days | P40D |
| H, hours | PT65H |
| M, minutes | PT90M |
Note: Mixes of units, as well as month/year/week designations, aren't supported. For example,
P40DT65H,P40M,P1W, andP1Yaren't supported.
The date the granted access is scheduled for recovation. Only set if request.accessDuration exists, and request.grantStatus is GRANTED.
The requester input fields required by the approval system.
Note: The fields required are determined by the approval system.
For the Okta approval system, the required fields are defined in the approval sequence. Ensure that the requester input fields match up with this definition to avoid request approval flow failure.
For external approval systems, the requester input fields are for recording purposes only and do not affect the approval process.
No further actions can be taken on a CANCELED request.
{ "id": "req42kjDgk1EubTwo0g4", "created": "2019-08-24T14:15:22Z", "createdBy": "00ub0oNGTSWTBKOLGLNR", "lastUpdated": "2022-05-05T14:15:22Z", "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR", "status": "CANCELED", "requestedBy": { "type": "OKTA_USER", "externalId": "00ub0oNGTSWTBKOLGLNR" }, "requestedFor": { "type": "OKTA_USER", "externalId": "00ub0oNGTSWTBKOLGLNR" }, "requesterFieldValues": [ { … } ], "requested": { "entryId": "cenb0oADRXTBKOLGLNR", "resourceId": "0oafxqCAJWWGELFTYASJ", "resourceType": "APPLICATION", "accessScopeId": "0oafxqCAJWWGELFTYASJ", "accessScopeType": "APPLICATION" }, "_links": { "catalogEntry": { … }, "self": { … } } }