forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
47 lines
3.7 KiB
HTML
47 lines
3.7 KiB
HTML
<a name="mrs_02_1085"></a><a name="mrs_02_1085"></a>
|
|
|
|
<h1 class="topictitle1">Logging Out of the CAS</h1>
|
|
<div id="body8662426"><div class="section" id="mrs_02_1085__en-us_topic_0125376206_section1818055918252"><h4 class="sectiontitle">Function </h4><p class="msonormal" id="mrs_02_1085__en-us_topic_0125376206_en-us_topic_0110839908_p57338675">This API is used to destruct the CAS single sign-on (SSO) session of a client. This API can be used only by security clusters that support Kerberos authentication.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_1085__en-us_topic_0125376206_sb749681635604c26a31130a87df6959b"><h4 class="sectiontitle">URI</h4><p class="msonormal" id="mrs_02_1085__en-us_topic_0125376206_en-us_topic_0110839908_p65410091">POST /cas/logout</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_1085__en-us_topic_0125376206_section430111693012"><h4 class="sectiontitle">Request</h4><ul id="mrs_02_1085__en-us_topic_0125376206_ul14339153112303"><li id="mrs_02_1085__en-us_topic_0125376206_li1933963119304">Example:<pre class="screen" id="mrs_02_1085__en-us_topic_0125376206_screen1434133718316">POST /cas/logout HTTP/1.1
|
|
Host: example.com
|
|
Content-Type: application/json
|
|
Accept:application/json</pre>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="mrs_02_1085__en-us_topic_0125376206_ul177151630163215"><li id="mrs_02_1085__en-us_topic_0125376206_li771533063218">Parameter description<p id="mrs_02_1085__en-us_topic_0125376206_p1077474413324"><a name="mrs_02_1085__en-us_topic_0125376206_li771533063218"></a><a name="en-us_topic_0125376206_li771533063218"></a>None</p>
|
|
</li></ul>
|
|
<div class="section" id="mrs_02_1085__en-us_topic_0125376206_s7386efa7409a4a2d8e27e696aaf97f0c"><h4 class="sectiontitle">Response</h4><ul id="mrs_02_1085__en-us_topic_0125376206_ul1960541814345"><li id="mrs_02_1085__en-us_topic_0125376206_li1660591817343">Example:<pre class="screen" id="mrs_02_1085__en-us_topic_0125376206_screen1635116397345">HTTP/1.1 200 OK
|
|
Data:Wed,02 May 2018 10:10:01 GMT
|
|
Server: example-server
|
|
Content-Type: application/json</pre>
|
|
</li><li id="mrs_02_1085__en-us_topic_0125376206_li1651484623412">Parameter description<p id="mrs_02_1085__en-us_topic_0125376206_p14245658153416"><a name="mrs_02_1085__en-us_topic_0125376206_li1651484623412"></a><a name="en-us_topic_0125376206_li1651484623412"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_1085__en-us_topic_0125376206_section116110412358"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_1085__en-us_topic_0125376206_table2979011121511" frame="border" border="1" rules="all"><thead align="left"><tr id="mrs_02_1085__en-us_topic_0125376206_row3981161161515"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.6.2.1.3.1.1"><p id="mrs_02_1085__en-us_topic_0125376206_p398115116158">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83%" id="mcps1.3.6.2.1.3.1.2"><p id="mrs_02_1085__en-us_topic_0125376206_p1798121191515">Description </p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_1085__en-us_topic_0125376206_row69813112155"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.6.2.1.3.1.1 "><p id="mrs_02_1085__en-us_topic_0125376206_p698113117157">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83%" headers="mcps1.3.6.2.1.3.1.2 "><p id="mrs_02_1085__en-us_topic_0125376206_p7981131116153">The logout is successful.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_02_1085__en-us_topic_0125376206_p385511715205">For details about error status codes, see <a href="mrs_02_0015.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_02_1083.html">MRS Manager CAS APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|