post https://{domain}/marketplace/auth/session/logout
Get logout options for logged in users. Requires a user-token. A flow is started by posting an
empty JSON body to handlerUrl.
Get logout options for logged in users.
ONCE THE USER IS LOGGED IN, WE RECEIVE A USER TOKEN.
THIS USER TOKEN IS USED WHEN THE USER CHOOSES TO LOG OUT.
To log out, follow these steps:
1. Set the Request Details
- URL:
<https://public-gateway.aws.stg.mondia.io/api/marketplace/auth/session/logout>
2. Add the Required Headers
Header | Value |
---|---|
x-api-key | Your API Key |
Authorization | Your User Id |
3. Prepare the Request Body
Request Body | Description | Required |
---|---|---|
redirectionUrl | The URL to redirect to after a user subscription payment | Yes |
lang | The two-letter ISO-639-1 language code - defaults to client's default language | Yes |
4. Make the Request
Once you’ve set the URL, headers, and body, make a request.