---
title: "Delete context"
method: DELETE
path: "/contexts/{context_id}"
tags: ["Contexts"]
---

# Delete context

`DELETE /contexts/{context_id}`

Soft delete a context (marks inactive).

## Path parameters

- `context_id` string, required

## Response `200`

Successful Response

- DeleteResponse — Response for delete operations.
  - `success` boolean, required — Whether the deletion succeeded
  - `message` string, required — Status message

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-28** `7e426dce5dda` — 2 info
  - api tag `Contexts` added
  - api tag `Context Sharing` removed
- **2026-02-19** `c41dcb6ac8f7` — 2 info
  - api tag `Context Sharing` added
  - api tag `Contexts` removed
- **2026-02-14** `5b3db391b9ea` — 3 info
  - api tag `Contexts` added
  - api tag `v2-api` removed
  - api tag `v2-api-contexts` removed

[Change history](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/changes/contexts/:context_id/delete.md)

---

[API](https://skmtc.dev/nozomio-labs/apis/nia-ai-api.md) · [All operations](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nozomio-labs/nia-ai-api/revisions/dbb602a3ef17/schema)
