Affiliate SSO Logout

POST /a/affiliates/sso-logout

Server-side logout for the embedded portal: every portal session this affiliate opened through an SSO link ends on its next request, and SSO links not yet opened stop working. A sign-in still waiting on the affiliate's two-factor code is refused too. Sessions the affiliate opened by signing in with a password are not affected. To also clear the webview at once, load https://<your-portal-host>/affiliate/sso/logout in it.

Authentication

Domain ID — your network's tenant ID (header: X-Domain-Id)

API Key (header: X-Api-Key)

Secret Key (header: X-Api-Secret)

No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.

Request Body *

Content-Type: application/json

FieldTypeRequiredDescription
external_idstringNo
affiliate_idintegerNo
emailstringNo

Responses

StatusDescription
200SSO sessions revoked
404Affiliate not found on this account
409Identifiers point to different affiliates
422Validation error