Revoke a single end-user session by its token. Returns 401 when the token cannot be verified.
Revoke a single end-user session by its token. Returns 401 when the token cannot be verified.
POST
https://app.softsolz.uk/api/v1/services/customer-auth/sessions/revokeRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Headers
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Body Params
tokenstringrequiredThe session token to revoke.
Response
Response Body
revokedbooleanAlways true on success.jtistringThe revoked session id.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/customer-auth/sessions/revoke \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "token": "tok_example"}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "revoked": true, "jti": "11111111-1111-1111-1111-111111111111" }}