Create Auto-approved Request
POST/createautoapprovedrequest
This API call can be used to auto-approve requests for a particular endpoint and security system. These requests can be used to create, update, or delete types of entitlement requests. The auto-approved request is shown in Request History.
Note: There should be a workflow with grant access already created with βAUTOAPPROVALβ name and the workflow should be added to externalconfig.properties file with below details: sav.autoapprovalwfname=AUTOAPPROVAL.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
username
,
requestor
,
requestaccess
- [endpoint,securitysystem, requesttype, accountname]
Optional params:
comments
,
requestaccess
- [entitlement (entitlement.ADD, entitlement.REMOVE), requestaccessattr]
Requestβ
- application/json
Body
Array [
]
requestaccess
object[]
entitlement
object
Responsesβ
- 200
Create Auto-approved Request
Response Headers
Date
string
Server
string
Set-Cookie
string
- application/json
- Schema
- Example (from schema)
- Create Auto-approved Request
Schema
{
"RequestId": "10122",
"errorCode": "0",
"message": "SUCCESS"
}
{
"RequestId": "10122",
"errorCode": "0",
"message": "SUCCESS"
}