NFTs

Update tokens ownership spam property

Updates tokens spam property for a tenant's token ownerships, in all tenant vaults.

put/nfts/ownership/tokens/spam

Request

Headers

X-End-User-Wallet-Idstring uuid

Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.

Idempotency-Keystring

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Request body

assetIdstring required

Token's asset id

spamboolean required

Token's ownership new spam value

Example request

[
  {
    "assetId": "NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd",
    "spam": true
  }
]

Response

All token spam properties have been updated

Changes

No recorded changes to this operation across all 1 revision of this API.