---
title: "Sets the chain record."
method: POST
path: "/v1/chains/{chainID}/chainrecord"
tags: ["chains"]
---

# Sets the chain record.

`POST /v1/chains/{chainID}/chainrecord`

## Path parameters

- `chainID` string, string, required

## Request body

- ChainRecord
  - `accessNodes` string[], required
  - `isActive` boolean, required

## Response `201`

Chain record was saved

## Other responses

- `401` — Unauthorized (Wrong permissions, missing token)

---

[API](https://skmtc.net/iotaledger/apis/wasp-api.md) · [All operations](https://skmtc.net/iotaledger/apis/wasp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iotaledger/wasp-api/versions/994a6c93b890/schema)
