Files
api-specs/idn/beta/paths/reject-access-request-approval.yaml
GitHub Action Bot c519af1676 Automated commit 'Merge pull request #1173 from sailpoint/update/operationIds
Update operationIds on Apis to be more consistent' by github action: 4136416158
2023-02-09 16:40:03 +00:00

38 lines
1.0 KiB
YAML

post:
operationId: rejectAccessRequest
summary: Rejects an access request approval.
tags:
- Access Request Approvals
description: >-
This endpoint rejects an access request approval. Only the owner of the approval and admin users are allowed to perform this action.
parameters:
- in: path
name: approvalId
schema:
type: string
required: true
description: The id of the approval.
example: 2c91808b7294bea301729568c68c002e
requestBody:
description: Reviewer's comment.
required: false
content:
application/json:
schema:
$ref: "../schemas/CommentDto.yaml"
responses:
'202':
$ref: '../../v3/responses/202.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'