Sets the chain record.
POST/v1/chain/chainrecord/:chainID
Sets the chain record.
Request
Path Parameters
chainID stringrequired
ChainID (Hex Address)
- 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": "error",
"missingPermission": "missingPermission"
}
Loading...