Logo
IdentityNow API Documentation

Cancel Access Request

POST {{baseUrl}}/access-requests/cancel

This API endpoint cancels a pending access request. An access request can be cancelled only if it has not passed the approval step. Any token with ORG_ADMIN authority or token of the user who originally requested the access request is required to cancel it.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X POST 'https://tenant.api.identitynow.com/v3/access-requests/cancel' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"accountActivityId":"2c91808568c529c60168cca6f90c1313","comment":"I requested this role by mistake."}'

ENDPOINTS