---
title: "Archive session"
method: DELETE
path: "/api/v1/sessions/{session_id}"
tags: ["sessions"]
---

# Archive session

`DELETE /api/v1/sessions/{session_id}`

Soft-delete (archive) a session. Returns success when archived, 404 if not found or not owned.

## Path parameters

- `session_id` string, required — Identifier of the session to archive.

## Response `200`

Successful Response

- SessionDeleteResponse — Result payload after archiving a session.
  - `ok` boolean — Whether the session was archived successfully.

## Other responses

- `401` — Authentication is required or the provided token is invalid.
- `403` — The caller does not have permission to access this resource.
- `404` — Session not found.
- `422` — Validation Error
- `503` — Session services are unavailable because server startup is incomplete.

---

[API](https://skmtc.net/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.net/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/versions/62e8c152aa18/schema)
