PATCH
/
damc
/
assets
/
viewers
/
remove
/
curl --request PATCH \
  --url https://dev-api.rootkey.ai/api-v1/damc/assets/viewers/remove/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "assetId": [
    "<any>"
  ],
  "ownerWallet": "<string>",
  "viewers": [
    "<any>"
  ]
}'
{
  "chainId": 80002,
  "transactionHash": "0x0a535c95f4450bf2b468a606a093936b90d09c13c1cac6ca2d2f8543f9bfb433"
}

Authorizations

x-api-key
string
header
required

Body

application/json

The body is of type object.

Response

200
application/json

Viewers removed successfully from the asset

An error occurred.