ログアウト
製品バージョン:10.11
最終更新日:2024年7月31日
現在のユーザーをログアウトします。
エンドポイント
https://<Director_IP_address>:4443/c/router
リクエスト例
コピー
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "AuthenticationManagement",
"method": "logoutCurrentUser",
"type": "rpc",
"tid": 1}'
リクエストフィールド
|
フィールド
|
種類
|
値(複数可)
|
説明 |
|---|---|---|---|
action
|
文字列 |
|
呼び出されるアクション |
method
|
文字列 | logoutCurrentUser |
呼び出されるメソッド |
type
|
文字列 | rpc |
通信プロトコルの種類 |
tid
|
整数 | 1 |
トランザクションID。クライアントとサーバーの両方がリクエストを識別するために使用される |
回答例
コピー
{
"action": "AuthenticationManagement",
"method": "logoutCurrentUser",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
応答フィールド
|
フィールド
|
値
|
説明
|
|---|---|---|
message
|
文字列 | リクエストが失敗した場合はメッセージを表示する |
where
|
文字列 | 問題が発生した手法に関する言及 |
cause
|
文字列 | 故障の原因 |
| データ | null
|
常に null: このメソッドはデータを返しません |