-
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 #1599 from sailpoint/khartzke/ID…
…NARC-2202 IDNARC-2202 Add reset entitlements to the beta api docs' by github action: 8331705064
- Loading branch information
1 parent
5242e92
commit 00cba5f
Showing
3 changed files
with
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
post: | ||
operationId: resetSourceEntitlements | ||
tags: | ||
- Entitlements | ||
summary: Reset Source Entitlements | ||
description: >- | ||
Removes all entitlements on a specific source. | ||
parameters: | ||
- name: id | ||
in: path | ||
description: ID of source for the entitlement reset | ||
required: true | ||
schema: | ||
type: string | ||
example: 2c91808a7813090a017814121919ecca | ||
responses: | ||
'202': | ||
description: Entitlement source reset task result | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../v3/schemas/EntitlementSourceResetBaseReferenceDto.yaml' | ||
'400': | ||
$ref: '../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../v3/responses/403.yaml' | ||
'429': | ||
$ref: '../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../v3/responses/500.yaml' | ||
security: | ||
- UserContextAuth: [idn:entitlement:update] |
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
14 changes: 14 additions & 0 deletions
14
idn/v3/schemas/EntitlementSourceResetBaseReferenceDto.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,14 @@ | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
description: The DTO type | ||
example: TASK_RESULT | ||
id: | ||
type: string | ||
description: The task ID of the object to which this reference applies | ||
example: 2c91808568c529c60168cca6f90c1313 | ||
name: | ||
type: string | ||
description: Human-readable display name of the object to which this reference applies | ||
example: Entitlement Source Reset |