User credential management API (deprecated)
The User Credential Management Rest API (Deprecated) (version 1.0).
Download the OpenAPI definition (YAML)
Security schemes
BasicAuth: HTTP basic
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize
2 scopes
| Scope | Description |
|---|---|
read | internal_user_mgt_view |
delete | internal_user_mgt_delete |
List User Credentials
List end-user enrolled credentials
GET /users/{user-id}/credentials
Retrieves a list of all user-enrolled credentials.
Scope (Permission) required: internal_user_mgt_view
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user-id | path | string | Yes | The unique identifier of the user. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | array of Credential |
400 | Bad Request. | Error |
401 | Unauthorized. | Error |
403 | Forbidden. | Error |
404 | User Not Found. | Error |
500 | Internal Server Error. | Error |
Delete User Credential
Delete a user-enrolled credential.
DEL /users/{user-id}/credentials/{type}/{credential-id}
Deletes a specific enrolled credential for a user.
Scope (Permission) required: internal_user_mgt_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user-id | path | string | Yes | The unique identifier of the user. |
type | path | string | Yes | The type of the credential. Allowed values: |
credential-id | path | string | Yes | The unique identifier of the device to be deleted. |
Responses
| Code | Description | Schema |
|---|---|---|
204 | User Credential Deleted. | |
400 | Bad Request. | Error |
401 | Unauthorized. | Error |
403 | Forbidden. | Error |
500 | Internal Server Error. | Error |
Schemas
Credential
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
credentialId | string | The unique identifier for the credential. | |
displayName | string | A user-friendly name for the credential. | |
type | string | The type of the credential. Allowed values: |
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Some error description. | |
message | string | Some error message. | |
description | string | A more detailed explanation of the error. | |
traceId | string | The unique identifier for the request. |
Was this page helpful?