---
title: "Delete session"
method: DELETE
path: "/zones/{zoneId}/sessions/{id}"
tags: ["Sessions"]
---

# Delete session

`DELETE /zones/{zoneId}/sessions/{id}`

Permanently deletes a session, effectively logging out the user or application

## Path parameters

- `zoneId` string, required
- `id` string, required

## Response `204`

Default Response

## Other responses

- `404` — Error response
- `default` — Error response

## Changes

- **2026-08-26** `d65d51379d93` — 1 info
  - added the non-success response with the status `404`
- **2026-03-16** `d3d69f45bfed` — 3 info
  - the endpoint scheme security `OAuth2` was added to the API
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `iam_bearerAuth` was removed from the API

[Change history](https://skmtc.dev/keycardai/apis/untitled-api/changes/zones/:zoneId/sessions/:id/delete.md)

---

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