SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Customer Auth

Revoke every active session for an end-user.

Revoke every active session for an end-user.

POSThttps://app.softsolz.uk/api/v1/services/customer-auth/users/{id}/logout

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Response

Response Body

sessions_revokedintegerNumber of sessions revoked.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/customer-auth/users/{id}/logout \
--header 'Authorization: Bearer sk_live_your_key'

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": {
"sessions_revoked": 2
}
}