# Sign out of every other device

> Page: https://docs.plotwork.dev/api/post-user-sessions-end-others. Index of every page: https://docs.plotwork.dev/llms.txt

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

`POST /user/sessions/end-others`

## TL;DR

| Question | Answer |
|---|---|
| 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`](https://docs.plotwork.dev/api/schemas.md#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

| Status | Meaning | Body |
|---|---|---|
| 200 | How many sessions ended. | [`EndedSessions`](https://docs.plotwork.dev/api/schemas.md#endedsessions) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 403 | The request came from an origin that may not make changes. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## Response body

A 200 answer has the type [`EndedSessions`](https://docs.plotwork.dev/api/schemas.md#endedsessions).

| Field | Type | Required | Description |
|---|---|---|---|
| `ended` | `integer` | yes |  |

## See also

| Doc | Why |
|---|---|
| [API reference](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
