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.