Gets detailed information about a user and includes user preferences and authorization exceptions. Each authorization exception type defines its own properties. The user preferences properties are shown.
|
Each user can have ssh keys specified as part of the defined preferences.
|
Example Request:
GET /api/user/v1/users/joe HTTP/1.1 Authorization: Basic abcefgMWE= Host: zfssa.example.com:215 Accept: application/json
Example Response:
HTTP/1.1 200 OK
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 390
{
"user": {
"fullname": "John Doe",
"href": "/api/user/v1/users/john",
"initial_password": "DummyPassword",
"kiosk_mode": false,
"kiosk_screen": "status/dashboard",
"logname": "john",
"require_annotation": false,
"roles": ["basic"]
}
}