-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'Merge pull request #1925 from sailpoint/ISCARP-15664
ISCARP-15664: Updated documentation to cover bulk approve endpoint.' by github action: 12524629764
- Loading branch information
1 parent
8473c97
commit 387ba5d
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
post: | ||
operationId: approveBulkAccessRequest | ||
security: | ||
- userAuth: [ idn:access-request-administration:write ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
tags: | ||
- Access Requests | ||
summary: Bulk Approve Access Request | ||
description: >- | ||
This API endpoint allows approving pending access requests in bulk. Maximum of 50 approval ids can be | ||
provided in the request for one single invocation. | ||
ORG_ADMIN or users with rights "idn:access-request-administration:write" can approve the access requests in bulk. | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/BulkApproveAccessRequest.yaml' | ||
example: | ||
{ | ||
"accessRequestIds": ["2c91808568c529c60168cca6f90c1313","2c91808568c529c60168cca6f90c1314"], | ||
"comment": "I approve these request items" | ||
} | ||
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
type : object | ||
description: Request body payload for bulk approve access request endpoint. | ||
required : | ||
- approvalIds | ||
- comment | ||
properties: | ||
approvalIds: | ||
type: array | ||
description: List of approval ids to approve the pending requests | ||
items: | ||
type: string | ||
example: [2c9180835d2e5168015d32f890ca1581, 2c9180835d2e5168015d32f890ca1582] | ||
|
||
comment: | ||
type: string | ||
description: Reason for approving the pending access request. | ||
example: "I approve these request items" |