---
title: "Destroy call session"
method: POST
path: "/sessions/{id}/destroy"
tags: ["Call Session"]
---

# Destroy call session

`POST /sessions/{id}/destroy`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/sessions/{id}/destroy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/sessions/:id/destroy/post.ts> (a function with typed inputs; its response is checked against the schema)

Destroy call session by it's session ID.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `204`

No Content

## Other responses

- `400`: Invalid call session id supplied
- `404`: Not found

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
