![]() |
REST API
17
REST API for Luna Network HSMs
|
Get information for a specific REST API user.
Users with the following role privileges can perform this command:
Note: Only admin-level users are allowed to access this resource for a userid other than themselves.
The identifier of a user. Can only contain alphanumeric characters, hyphens, and underscores.(No uppercase characters allowed)
Use: Required
JSON Schema:
Object
type: string
minLength: 1
maxLength: 32
pattern: ^[a-zA-Z_][a-zA-Z0-9_.-]*$
Success
User info
JSON Schema: User
Returned when the input data does not conform to the required validation schema.
Unexpected error
Loggedin user isn't allowed to perform this action for this userid.
User does not exist.
GET
https://1.2.3.4:8443/users/admin
{ }
{
"actions": "/users/admin/actions",
"accountLockTime": "2025-10-08 12:35:17 EDT",
"accountUnlockTime": "2025-10-08 02:35:18 EDT",
"certificates": "/users/admin/certificates",
"changeable": false,
"email": "",
"files": "/users/admin/files",
"lockedOut": false,
"fullName": "Administrator",
"passwordExpiryDaysRemaining": 4,
"passwordLastChanged": "2022-08-29",
"role": "admin",
"status": "enabled",
"userId": "admin"
}