---
title: "POST /api/delete-session"
method: POST
path: "/api/delete-session"
tags: ["Session API"]
---

# POST /api/delete-session

`POST /api/delete-session`

Delete session for one user in one application.

## Query parameters

- `id` string, required

## Response `200`

The Response object

## Changes

> 35 revisions in range; 4 could not be searched.

- **2023-02-10** `13a3634f70db` — 1 breaking, 1 warning
  - added the new required `query` request parameter `id`
  - deleted the `query` request parameter `ID`
- **2023-01-17** `602642d3ed03` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/casdoor/apis/casdoor-restful-api/changes/api/delete-session/post.md)

---

[API](https://skmtc.dev/casdoor/apis/casdoor-restful-api.md) · [All operations](https://skmtc.dev/casdoor/apis/casdoor-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/casdoor/casdoor-restful-api/revisions/be9a5584b821/schema)
