Go to main content

Oracle® ZFS Storage Appliance RESTful API ガイド、Release OS8.8.x

印刷ビューの終了

更新: 2021 年 8 月
 
 

ユーザープロパティーの変更

ユーザーのプロパティーを直接変更します。lognametype、および 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": []
        }
    }
}