---
title: "Toggle Chain Matching"
method: PATCH
path: "/api/countries/{country_id}/chain-matching"
tags: ["Countries"]
---

# Toggle Chain Matching

`PATCH /api/countries/{country_id}/chain-matching`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/countries/{country_id}/chain-matching`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`

Toggle chain_matching_enabled for a country (admin only).

## Path parameters

- `country_id` integer, required

## Query parameters

- `enabled` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
