---
title: "Update tokens ownership spam property"
method: PUT
path: "/nfts/ownership/tokens/spam"
tags: ["NFTs"]
---

# Update tokens ownership spam property

`PUT /nfts/ownership/tokens/spam`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/nfts/ownership/tokens/spam`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/nfts/ownership/tokens/spam/put.ts> (a function with typed inputs; its response is checked against the schema)

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

## Headers

- `X-End-User-Wallet-Id` string, uuid
- `Idempotency-Key` string

## Request body

- TokenOwnershipSpamUpdatePayload[]
  - `assetId` string, required: Token's asset id
  - `spam` boolean, required: Token's ownership new spam value

## Response `200`

All token spam properties have been updated

## Other responses

- `400`: Invalid data sent
- `404`: When ownership for token ID is not found

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
