---
title: "POST /api/{session}/close-session"
method: POST
path: "/api/{session}/close-session"
tags: ["Auth"]
---

# POST /api/{session}/close-session

`POST /api/{session}/close-session`

## Path parameters

- `session` string, required

## Response `200`

OK

## Other responses

- `500` — Internal Server Error

## Changes

- **2023-08-27** `6eae676ad8bf` — 1 breaking, 1 info
  - removed the request body
  - api operation id `closeSession` was added
- **2023-06-05** `9694d2bfdbd3` — 1 warning
  - removed the request property `clearSession`
- **2023-06-01** `9326b42d7d94` — 1 breaking
  - added required request body
- **2023-05-31** `21a80b8287f1` — 1 info
  - endpoint added
- **2022-07-21** `5384d2ef4ae9` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/wppconnect-team/apis/wppconnect-api-rest/changes/api/:session/close-session/post.md)

---

[API](https://skmtc.dev/wppconnect-team/apis/wppconnect-api-rest.md) · [All operations](https://skmtc.dev/wppconnect-team/apis/wppconnect-api-rest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wppconnect-team/wppconnect-api-rest/revisions/853aaca8a2fe/schema)
