---
title: "End a session now and wipe its cookies."
method: POST
path: "/api/run/end_session"
---

# End a session now and wipe its cookies.

`POST /api/run/end_session`

## Request

- Base URL: `https://vault.cloudforbots.com`
- URL: `https://vault.cloudforbots.com/api/run/end_session`
- Auth: one of:
  - none
  - HTTP bearer

End a session now and wipe its cookies.

## Request body

- object
  - `session` string, required

## Response `200`

Result with job, understood, outcome, usage

- object

## Other responses

- `401`: bad_agent_key
- `429`: free_limit_reached (includes upgrade link)

---

[API](https://skmtc.dev/cloudforbots/apis/login-vault.md) · [All operations](https://skmtc.dev/cloudforbots/apis/login-vault/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudforbots/apis/login-vault/revisions/4b2f0405fb74?raw)
