---
title: "PATCH /v1/chains/{chainId}"
method: PATCH
path: "/v1/chains/{chainId}"
tags: ["Chains"]
---

# PATCH /v1/chains/{chainId}

`PATCH /v1/chains/{chainId}`

## Request

- Base URL: `https://api.tokenbooks.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tokenbooks.io/v1/chains/{chainId}`
- Auth: API key in header `x-api-key`

## Path parameters

- `chainId` string, required

## Request body

- UpdateChainTestnetRequestDto
  - `isTestnet` boolean, required: Whether the chain is a testnet

## Response `200`

- ChainTestnetResponseDto
  - `isTestnet` boolean, required: Whether the chain is a testnet

---

[API](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api.md) · [All operations](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/revisions/634c5114c75f?raw)
