Go to main content

Oracle® ZFS Storage Appliance RESTful API 설명서, 릴리스 OS8.8.x

인쇄 보기 종료

업데이트 날짜: 2021년 8월
 
 

사용자 등록 정보 수정

직접 사용자 등록 정보를 수정합니다. logname, typeuid는 변경할 수 없습니다.

역할, 예외사항, 환경 설정, 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": []
        }
    }
}