Skip to content

Sign out everywhere else

POST
/auth/account/sessions/end-others
curl --request POST \
--url https://api.sloose.com/auth/account/sessions/end-others \
--header 'Authorization: Bearer <token>'

Signs out every browser you are signed in from but this one — each with its CRM tabs’ own sessions — and a staff member’s view of an org as you, which acts as you. This browser, and its own CRM tabs, stay signed in. Answers how many browsers were signed out. Session only.

Signed out.

Media typeapplication/json
object
ended
required

How many browsers were signed out: 0 when there were none.

integer
Examplegenerated
{
"ended": 1
}

No bearer, or one that is expired, revoked or no longer resolves to a member.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

An API token was used (code: SESSION_REQUIRED), or the session is a staff member’s view of an org (code: STAFF_VIEW).

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

Report a problem with this page