PUT
/
damc
/
assets
/
{assetId}
/
uri
/
cURL
curl --request PUT \
  --url https://dev-api.rootkey.ai/api-v1/damc/assets/{assetId}/uri/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "ownerWallet": "<string>",
  "newUri": "<string>"
}'
{
  "chainId": 80002,
  "transactionHash": "0x0a535c95f4450bf2b468a606a093936b90d09c13c1cac6ca2d2f8543f9bfb433"
}

Authorizations

x-api-key
string
header
required

Path Parameters

assetId
string
required

The asset id

Body

application/json
ownerWallet
string
required

The address of the asset owner

newUri
string
required

Updated asset URI

Response

Maintenance Recorded Successfully

An error occurred.

message
string
errorCode
string
docUrl
string
timestamp
string