Skip to main content

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​

Body

    comments string

    requestaccess

    object[]

  • Array [

  • accountname string
    endpoint string

    entitlement

    object

    ADD string[]
    REMOVE string[]
    requestaccessattr string[]
    requesttype string
    securitysystem string
  • ]

  • requestor string
    username string

Responses​

Create Auto-approved Request

Response Headers

  • Date

    string

  • Server

    string

  • Set-Cookie

    string

Schema

    RequestId string
    errorCode string
    message string
Loading...