Sets the chain record.
POST//v1/chains/:chainID/chainrecord
Sets the chain record.
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
- application/json
Body
required
Chain Record
accessNodes string[]required
isActive booleanrequired
Responses
- 201
- 401
Chain record was saved
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Authorization: Authorization
name: Authorizationtype: apiKeydescription: JWT Tokenin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/v1/chains/:chainID/chainrecord' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"accessNodes": [
"accessNodes",
"accessNodes"
],
"isActive": true
}'
ResponseClear