Logs out of the user account.
- Retrieve the SSO status
Public API Reference (2025-07-30)
The Zephr Public API provides common client-side actions tied to a session cookie. Unlike the Admin API, neither users nor other resources can be dereferenced; the only data that can be accessed is owned by the user who is currently signed-in. This design is used to protect other users from malicious attacks.
You can find the base URL for the Public API by navigating to your site domains. To do this, select Sites from the Delivery menu, select your site, and then click the Site Domains button. The base URL is the Live domain.
Zephr forms use the Public API by default, with relative URLs based on the base URL.
An enum of describing which sessions/devices to log out of.
Options are JUST_HERE, THIS_DEVICE, OTHER_DEVICES, EVERYWHERE. These options are only valid when Single Sign-On is configured. When SSO is configured as autoLogin, then the default behaviour is THIS_DEVICE. When SSO is configured as optIn, then the default behaviour is JUST_HERE. JUST_HERE is not a valid option when SSO is configured as autoLogin.
- Mock serverhttps://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/blaize/logout
- https://demo-site/blaize/logout
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/blaize/logout \
-H 'Content-Type: application/json' \
-H 'cookie: `blaize_session=...` (string)' \
-b '`blaize_session=...` (string)' \
-d '{
"where": "EVERYWHERE"
}'{ "message": "Session deleted" }
- Mock serverhttps://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/zephr/public/sso/v1/status
- https://demo-site/zephr/public/sso/v1/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/zephr/public/sso/v1/status \
-b blaize_session=YOUR_API_KEY_HERESSO status was retrieved successfully.
The SSO status of the current user session. This can be:
unknown: The SSO token is not authenticated anywhere, or the current session is not associated with an SSO token.known: The current session is anonymous, but the SSO token is authenticated on another site.authenticated: The current session is authenticated through an SSO token.
{ "status": "authenticated", "meta": {} }
- Mock serverhttps://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/zephr/public/sso/v1/status/meta
- https://demo-site/zephr/public/sso/v1/status/meta
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/zephr/public/sso/v1/status/meta \
-H 'Content-Type: application/json' \
-b blaize_session=YOUR_API_KEY_HERE \
-d '{}'Request
Generates a new preview of the price that Stripe will charge the customer if they create a new subscription for the specified plan. Note: This method does not create any entities in Stripe and does not result in any payments being made.
- Mock serverhttps://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/zephr/payment/stripe/subscriptions/{externalId}/change-previews
- https://demo-site/zephr/payment/stripe/subscriptions/{externalId}/change-previews
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.zuora.com/_mock/zephr-api-reference/zephr-public-api/zephr/payment/stripe/subscriptions/{externalId}/change-previews' \
-H 'Content-Type: application/json' \
-b blaize_session=YOUR_API_KEY_HERE \
-d '{
"plan_id": "string"
}'{ "total": 5000, "sub_total": 4500 }