Delete Link Location

  1. The record owner deletes the previous link location via nChain Event

  2. The result is the new link Location of an empty record on the blockchain

  3. The record owner stores the new link Location for later processing

  4. Ideally, the record owner should check the status of the new link location

This does not actually delete a link location on the blockchain. Instead, it creates a new empty transaction that prevents any further updates to the current link location. A deleted llink location cannot be updated further.

Example code:

curl -X "POST" \
     -L "$URL/api/v1/linkedrecords/$LOC/delete" \
     -H "x-api-key: $KEY" \
     -H "accept: text/plain" \
     -d ""

Example response:

  "txId": "880ea79ee5728333....390cdecd1a9686b4bd"

The response includes a location that may be used in subsequent commands.

: Extract the location from the response to the update command


Last updated

Copyright © nChain Licensing AG 2024