Skip to content

Commit 2a366a5

Browse files
authored
Merge pull request #5923 from NipuniBhagya/credential-api-7.2.0
[7.2.0] Update end user credential management API scopes
2 parents 9d0d348 + 130a81b commit 2a366a5

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

en/identity-server/7.2.0/docs/apis/organization-apis/restapis/end-user-credential-management.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ info:
33
description: |
44
The Credential Management REST API provides a comprehensive interface to list and delete
55
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.
77
88
<b>Note</b>: This API is available only in WSO2 Identity Server 7.2.0, beginning with update level 5
99
(Updates 2.0 model). To update your server, see the instructions on
@@ -29,7 +29,7 @@ paths:
2929
get:
3030
summary: List end-user enrolled credentials
3131
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"
3333
operationId: getUserCredentialsById
3434
tags:
3535
- List User Credentials
@@ -98,7 +98,7 @@ paths:
9898
/users/{user-id}/credentials/{type}/{credential-id}:
9999
delete:
100100
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"
102102
operationId: deleteUserCredentialById
103103
tags:
104104
- Delete User Credential
@@ -161,8 +161,8 @@ components:
161161
authorizationUrl: 'https://localhost:9443/oauth2/authorize'
162162
tokenUrl: 'https://localhost:9443/oauth2/token'
163163
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
166166
schemas:
167167
Credential:
168168
type: object

en/identity-server/7.2.0/docs/apis/restapis/end-user-credential-management.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ info:
33
description: |
44
The Credential Management REST API provides a comprehensive interface to list and delete
55
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.
77
88
<b>Note</b>: This API is available only in WSO2 Identity Server 7.2.0, beginning with update level 5
99
(Updates 2.0 model). To update your server, see the instructions on
@@ -29,7 +29,7 @@ paths:
2929
get:
3030
summary: List end-user enrolled credentials
3131
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"
3333
operationId: getUserCredentialsById
3434
tags:
3535
- List User Credentials
@@ -98,7 +98,7 @@ paths:
9898
/users/{user-id}/credentials/{type}/{credential-id}:
9999
delete:
100100
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"
102102
operationId: deleteUserCredentialById
103103
tags:
104104
- Delete User Credential
@@ -161,8 +161,8 @@ components:
161161
authorizationUrl: 'https://localhost:9443/oauth2/authorize'
162162
tokenUrl: 'https://localhost:9443/oauth2/token'
163163
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
166166
schemas:
167167
Credential:
168168
type: object

0 commit comments

Comments
 (0)