Skip to content
Connect an agent

Keys

Sign out of every other device

Ends every session of the account but the one making the request.

POST/user/sessions/end-others

TL;DR

QuestionAnswer
What does it do?Sign out of every other device.
What does it take?Nothing.
What does it return?Status 200 with a body of type EndedSessions.
What can go wrong?401 not signed in; 403 the request came from an origin that may not make changes; 429 too many requests. Every failure uses the one error envelope.

What it does

Ends every session of the account but the one making the request. API keys and agent connections are not touched.

Responses

StatusMeaningBody
200How many sessions ended.EndedSessions
401Not signed in.ErrorResponse
403The request came from an origin that may not make changes.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type EndedSessions.

FieldTypeRequiredDescription
endedintegeryes

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools