---
title: "Update a context's settings."
method: PUT
path: "/api/contexts/{name}"
tags: ["Contexts"]
---

# Update a context's settings.

`PUT /api/contexts/{name}`

Update the entity_type_disambiguation and ledger flags on an existing context. Requires the `contexts:write` scope.

## Path parameters

- `name` string, required

## Query parameters

- `entity_type_disambiguation` boolean
- `ledger` boolean
- `owner` string

## Headers

- `Authorization` string, required

## Response `200`

The context was updated.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Context not found.
- `413` — Content Too Large
- `415` — Unsupported Media Type
- `500` — Internal Server Error
- `503` — Service Unavailable

## Changes

- **2026-08-04** `67443cd5a65b` — 1 info
  - added the new optional `query` request parameter `owner`
- **2026-08-04** `a42c6a543049` — 1 info
  - added the new optional `query` request parameter `owner`
- **2026-08-04** `ee79a60eea42` — 1 info
  - added the non-success response with the status `415`
- **2026-08-03** `e46672d44401` — 1 info
  - added the non-success response with the status `413`

[Change history](https://skmtc.dev/philterd/apis/philter-api/changes/api/contexts/:name/put.md)

---

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