---
title: "Delete session"
method: DELETE
path: "/v1/sessions"
tags: ["Sessions"]
---

# Delete session

`DELETE /v1/sessions`

Delete a temporary session, permanently invalidating it.

## Parameters

- `#/paths/~1v1~1api_keys/get/parameters/0` — unresolved $ref

## Request body

- object
  - `session_id` string — The unique session identifier. Prefix is "ses" in production and "sbx_ses" in sandbox.

## Response `204`

OK

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — Resource not found.
- `5XX` — unresolved $ref

---

[API](https://skmtc.dev/rainforestpay/apis/authentication.md) · [All operations](https://skmtc.dev/rainforestpay/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rainforestpay/authentication/revisions/529a0dab0f90/schema)
