From 1c34288cb0674acba46999f4e4dbbdcca2f31a07 Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Thu, 24 Oct 2024 20:08:34 +0000 Subject: [PATCH] Automated commit 'IDNPALM-5470: correct the respond content of remove attribute from role endpoint (#1868) * IDNPALM-5470: correct the respond cotent * IDNPALM-5470: update security define * IDNPALM-5470: add x-sailpoint-userLevels' by github action: 11506669860 --- .../role-id-access-model-metadata.yaml | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/idn/v2024/paths/role-access-model-metadata/role-id-access-model-metadata.yaml b/idn/v2024/paths/role-access-model-metadata/role-id-access-model-metadata.yaml index 78196ab7..e094c694 100644 --- a/idn/v2024/paths/role-access-model-metadata/role-id-access-model-metadata.yaml +++ b/idn/v2024/paths/role-access-model-metadata/role-id-access-model-metadata.yaml @@ -8,7 +8,11 @@ post: tags: - Roles security: - - UserContextAuth: [ idn:role:update, idn:role-checked:update ] + - userAuth: [ idn:role:update, idn:role-checked:update ] + x-sailpoint-userLevels: + - ORG_ADMIN + - ROLE_ADMIN + - ROLE_SUBADMIN parameters: - name: "id" in: "path" @@ -57,7 +61,11 @@ delete: tags: - Roles security: - - UserContextAuth: [ idn:role:delete, idn:role-checked:delete, idn:role:update, idn:role-checked:update ] + - userAuth: [ idn:role:delete, idn:role-checked:delete, idn:role:update, idn:role-checked:update ] + x-sailpoint-userLevels: + - ORG_ADMIN + - ROLE_ADMIN + - ROLE_SUBADMIN parameters: - name: id in: path @@ -81,12 +89,8 @@ delete: description: Technical name of the Attribute Value. example: "public" responses: - "200": - description: Responds with the Role as updated. - content: - application/json: - schema: - $ref: "../../../v3/schemas/access/Role.yaml" + "202": + description: Request accepted '400': $ref: '../../../v3/responses/400.yaml' '401':