---
title: "Update state"
method: PATCH
path: "/states/{id}"
tags: ["State Controller"]
---

# Update state

`PATCH /states/{id}`

Update a state by its ID

## Path parameters

- `id` number, required

## Request body

- UpdateStateDto
  - `countryId` number — ID of the country this state belongs to
  - `stateName` string — State name
  - `externalLink` string, nullable — External domain URL for this state
  - `isActive` boolean — Whether the state is active

## Response `200`

State updated successfully

---

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