|
| 1 | +get: |
| 2 | + operationId: getAccessRequestRecommendationsConfig |
| 3 | + tags: |
| 4 | + - IAI Access Request Recommendations |
| 5 | + security: |
| 6 | + - userAuth: [ iai:configuration:read ] |
| 7 | + x-sailpoint-userLevels: |
| 8 | + - ORG_ADMIN |
| 9 | + summary: Get Access Request Recommendations config |
| 10 | + description: >- |
| 11 | + This API returns the configurations for Access Request Recommender for the tenant. |
| 12 | + parameters: |
| 13 | + - name: X-SailPoint-Experimental |
| 14 | + in: header |
| 15 | + description: Use this header to enable this experimental API. |
| 16 | + example: true |
| 17 | + schema: |
| 18 | + type: string |
| 19 | + default: true |
| 20 | + required: true |
| 21 | + responses: |
| 22 | + '200': |
| 23 | + description: Configurations for Access Request Recommender for the tenant. |
| 24 | + content: |
| 25 | + application/json: |
| 26 | + schema: |
| 27 | + $ref: '../schemas/AccessRequestRecommendationConfigDto.yaml' |
| 28 | + '400': |
| 29 | + $ref: '../../v3/responses/400.yaml' |
| 30 | + '401': |
| 31 | + $ref: '../../v3/responses/401.yaml' |
| 32 | + '403': |
| 33 | + $ref: '../../v3/responses/403.yaml' |
| 34 | + '429': |
| 35 | + $ref: '../../v3/responses/429.yaml' |
| 36 | + '500': |
| 37 | + $ref: '../../v3/responses/500.yaml' |
| 38 | + |
| 39 | +put: |
| 40 | + operationId: setAccessRequestRecommendationsConfig |
| 41 | + tags: |
| 42 | + - IAI Access Request Recommendations |
| 43 | + security: |
| 44 | + - userAuth: [ iai:configuration:update ] |
| 45 | + x-sailpoint-userLevels: |
| 46 | + - ORG_ADMIN |
| 47 | + summary: Update Access Request Recommendations config |
| 48 | + description: >- |
| 49 | + This API updates the configurations for Access Request Recommender for the tenant. |
| 50 | + requestBody: |
| 51 | + description: The desired configurations for Access Request Recommender for the tenant. |
| 52 | + required: true |
| 53 | + content: |
| 54 | + application/json: |
| 55 | + schema: |
| 56 | + $ref: '../schemas/AccessRequestRecommendationConfigDto.yaml' |
| 57 | + parameters: |
| 58 | + - name: X-SailPoint-Experimental |
| 59 | + in: header |
| 60 | + description: Use this header to enable this experimental API. |
| 61 | + example: true |
| 62 | + schema: |
| 63 | + type: string |
| 64 | + default: true |
| 65 | + required: true |
| 66 | + responses: |
| 67 | + '200': |
| 68 | + description: Successfully updated configurations for Access Request Recommender for the tenant. |
| 69 | + content: |
| 70 | + application/json: |
| 71 | + schema: |
| 72 | + $ref: '../schemas/AccessRequestRecommendationConfigDto.yaml' |
| 73 | + '400': |
| 74 | + $ref: '../../v3/responses/400.yaml' |
| 75 | + '401': |
| 76 | + $ref: '../../v3/responses/401.yaml' |
| 77 | + '403': |
| 78 | + $ref: '../../v3/responses/403.yaml' |
| 79 | + '429': |
| 80 | + $ref: '../../v3/responses/429.yaml' |
| 81 | + '500': |
| 82 | + $ref: '../../v3/responses/500.yaml' |
0 commit comments