Unable to approval access request through api

Hi We are unable to approval access request through api.

API: https://{tenant}.api.identitynow.com/beta/access-request-approvals/{approvalId}/approve
accessRequest.txt (40.4 KB)

Please let us know approvald which id’s do we need to take it.

Hi Gopu,

The return result you provided appears to be the list of access requests from this API:

i.e.:
https://{{orgname}}.api.identitynow.com/beta/access-request-status

This won’t help you. In order to approve the access request, you need to find the approval record, which you can get from this API:

i.e.:
https://{{orgname}}.api.identitynow.com/beta/access-request-approvals/pending

Then you can use the id returned in this object to pass into the access-request-approvals/{{approvalId}}/approve API