Affiliate SSO Logout
POST
/a/affiliates/sso-logoutThis endpoint is deprecated and may be removed in a future version.
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
| Field | Type | Required | Description |
|---|---|---|---|
external_id | string | No | |
affiliate_id | integer | No | |
email | string | No |
Responses
| Status | Description |
|---|---|
| 200 | SSO sessions revoked |
| 404 | Affiliate not found on this account |
| 409 | Identifiers point to different affiliates |
| 422 | Validation error |