Files
developer.sailpoint.com/static/api-specs/idn/v3/paths/access-request-cancel.yaml
2022-09-26 21:59:54 -04:00

36 lines
1.0 KiB
YAML

post:
operationId: cancelAccessRequest
tags:
- Access Requests
summary: Cancel Access Request
description: >-
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.
requestBody:
required: true
content:
application/json:
schema:
$ref: '../schemas/CancelAccessRequest.yaml'
example:
{
"accountActivityId": "2c91808568c529c60168cca6f90c1313",
"comment": "I requested this role by mistake."
}
responses:
'202':
$ref: '../responses/202.yaml'
'400':
$ref: '../responses/400.yaml'
'401':
$ref: '../responses/401.yaml'
'403':
$ref: '../responses/403.yaml'
'404':
$ref: '../responses/404.yaml'
'429':
$ref: '../responses/429.yaml'
'500':
$ref: '../responses/500.yaml'