|
3 | 3 | description: | |
4 | 4 | The Credential Management REST API provides a comprehensive interface to list and delete |
5 | 5 | credentials enrolled by end-users within the WSO2 Identity Server. The administrators who are assigned with privileges to list and delete |
6 | | - users (with scopes internal_user_mgt_view and internal_user_mgt_delete) are able to perform these operations. |
| 6 | + users (with scopes internal_user_credential_mgt_view and internal_user_credential_mgt_delete) are able to perform these operations. |
7 | 7 | |
8 | 8 | <b>Note</b>: This API is available only in WSO2 Identity Server 7.2.0, beginning with update level 5 |
9 | 9 | (Updates 2.0 model). To update your server, see the instructions on |
|
29 | 29 | get: |
30 | 30 | summary: List end-user enrolled credentials |
31 | 31 | description: "Retrieves a list of all user-enrolled credentials. This API currently supports passkey and push |
32 | | - authentication credentials. \n\n <b>Scope (Permission) required:</b> ``internal_user_mgt_view``\n\n" |
| 32 | + authentication credentials. \n\n <b>Scope (Permission) required:</b> ``internal_user_credential_mgt_view``\n\n" |
33 | 33 | operationId: getUserCredentialsById |
34 | 34 | tags: |
35 | 35 | - List User Credentials |
|
98 | 98 | /users/{user-id}/credentials/{type}/{credential-id}: |
99 | 99 | delete: |
100 | 100 | summary: Delete a user-enrolled credential. |
101 | | - description: Deletes a specific enrolled credential for a user. Requires administrative privileges with scope internal_user_mgt_delete. |
| 101 | + description: "Deletes a specific enrolled credential for a user. \n\n <b>Scope (Permission) required:</b> ``internal_user_credential_mgt_delete``\n\n" |
102 | 102 | operationId: deleteUserCredentialById |
103 | 103 | tags: |
104 | 104 | - Delete User Credential |
@@ -161,8 +161,8 @@ components: |
161 | 161 | authorizationUrl: 'https://localhost:9443/oauth2/authorize' |
162 | 162 | tokenUrl: 'https://localhost:9443/oauth2/token' |
163 | 163 | scopes: |
164 | | - read: internal_user_mgt_view |
165 | | - delete: internal_user_mgt_delete |
| 164 | + read: internal_user_credential_mgt_view |
| 165 | + delete: internal_user_credential_mgt_delete |
166 | 166 | schemas: |
167 | 167 | Credential: |
168 | 168 | type: object |
|
0 commit comments