직접 사용자 등록 정보를 수정합니다. logname, type 및 uid는 변경할 수 없습니다.
역할, 예외사항, 환경 설정, SSH 키 또는 로그인 토큰을 추가하거나 수정, 삭제하려면 다음 설명서를 참조하십시오.
요청 예:
PUT /api/user/v1/users/test_user HTTP/1.1
{"fullname": "Test A. User", "require_annotation": true}
결과 예:
{
"user": {
"href": "/api/user/v1/users/test_user",
"logname": "test_user",
"type": "local",
"uid": 2000000002,
"fullname": "Test A. User",
"initial_password": true,
"require_annotation": true,
"roles": ["basic"],
"kiosk_mode": false,
"kiosk_screen": "status/dashboard",
"exceptions": [],
"preferences": {
"href": "/api/user/v2/users/test_user/preferences",
"locale": "C",
"login_screen": "status/dashboard",
"session_timeout": 15,
"cli_idle_timeout": -1,
"advanced_analytics": false,
"keys": [],
"tokens": []
}
}
}