<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=SAML_Logout</id>
	<title>SAML Logout - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=SAML_Logout"/>
	<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=SAML_Logout&amp;action=history"/>
	<updated>2026-07-24T09:37:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://docs.callproof.com/index.php?title=SAML_Logout&amp;diff=3861&amp;oldid=prev</id>
		<title>Ashley DeBon: Created page with &quot;== Mobile_API &amp;#187;SAML Logout ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/saml/logout  === Purpose === Logs out the authenticated SAML/mo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=SAML_Logout&amp;diff=3861&amp;oldid=prev"/>
		<updated>2026-07-24T07:24:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &lt;a href=&quot;/index.php/Mobile_API&quot; title=&quot;Mobile API&quot;&gt;Mobile_API&lt;/a&gt; »SAML Logout ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/saml/logout  === Purpose === Logs out the authenticated SAML/mo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== [[Mobile_API]] &amp;amp;#187;SAML Logout ==&lt;br /&gt;
&lt;br /&gt;
=== Base URL ===&lt;br /&gt;
https://apimobile.callproof.com&lt;br /&gt;
&lt;br /&gt;
=== Endpoint ===&lt;br /&gt;
/api/saml/logout&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
Logs out the authenticated SAML/mobile user: clears the local session/token state, optionally removes the device push token, clears the stored SAML session, and returns an Identity Provider (IdP) logout URL when available so the client can complete single logout with the IdP.&lt;br /&gt;
&lt;br /&gt;
=== HTTP Method ===&lt;br /&gt;
POST&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Header !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Authorization || Yes || Bearer access token&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;#039; – Requires Bearer Token authentication (`auth:api`).&lt;br /&gt;
* Rate limited to 30 requests per minute for the SAML route group.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== Path Parameters ====&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==== Query Parameters ====&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
==== Request Body ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| fcm_token || string || No || Device push notification token to remove for this user on logout&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Successful Response (200) ===&lt;br /&gt;
Indicates that local logout completed successfully. The client may open &amp;lt;code&amp;gt;idp_logout_url&amp;lt;/code&amp;gt; to finish IdP logout when present.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| message || string || Confirmation message (for example, &amp;quot;Logout Successful&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| idp_logout_url || string/null || IdP single-logout URL when available and valid (http/https); otherwise &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error Responses ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Status Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 400 || Bad Request – SAML logout failed&lt;br /&gt;
|-&lt;br /&gt;
| 401 || Unauthorized – missing, invalid, or expired Bearer token / unauthenticated user&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;400&amp;#039;&amp;#039;&amp;#039; – Logout processing failed (for example, &amp;quot;SLO logout failed&amp;quot;).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;401&amp;#039;&amp;#039;&amp;#039; – Authentication failed or the access token is missing/expired (for example, &amp;quot;Unauthenticated&amp;quot;).&lt;/div&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
</feed>