직접 사용자 등록 정보를 수정합니다. 사용자 리소스: 예외, 환경 설정 및 ssh 키가 추가, 수정 또는 제거될 수 있습니다. "UID" 및 "Type"은 만든 후 변경할 수 없습니다.
요청 예:
PUT /api/user/v1/users/joe HTTP/1.1 Authorization: Basic abcefgMWE= Host: zfssa.example.com:215 Accept: application/json Content-Type: application/json Content-Length: 24 {"require_annotation": true}
결과 예:
HTTP/1.1 202 Accepted X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 236 { "user": { "href": "/api/user/v1/users/john", "logname": "john", "type": "local", "uid": 2000000000, "fullname": "John Doe", "initial_password": "DummyPassword", "require_annotation": true, "kiosk_mode": false, "kiosk_screen": "status/dashboard", "roles": ["basic"] } }