This is a translation of the original English documentation page. Help us make it better.

authentication.update

説明

object authentication.update(object authentication)

この方法では、既存の認証設定を更新することができます。

このメソッドは、Super admin ユーザータイプにのみ使用できます。このメソッドを呼び出す許可は、
ユーザーロール設定で取り消すことができます。詳細については、User rolesを参照してください。

パラメータ

(object) 更新する認証のプロパティ

戻り値

(array) 更新されたパラメータの名前を配列で返します。

Request:

{
           "jsonrpc": "2.0",
           "method": "authentication.update",
           "params": {
               "http_auth_enabled": 1,
               "http_case_sensitive": 0,
               "http_login_form": 1
           },
           "auth": "038e1d7b1735c6a5436ee9eae095879e",
           "id": 1
       }

Response:

{
           "jsonrpc": "2.0",
           "result": [
               "http_auth_enabled",
               "http_case_sensitive",
               "http_login_form"
           ],
           "id": 1
       }

ソース

CAuthentication::update() in ui/include/classes/api/services/CAuthentication.php.