Portfolios

post/v1/portfolios/{portfolioSlug}/tokens/spam

Request

  • Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/tokens/spam
  • Auth: API key in header x-api-key

Path parameters

portfolioSlugstring required

Workspace-scoped portfolio slug

Request body

chainIdstring required

Chain ID of the token

tokenAddressstring required

Token contract address

isSpamboolean

Spam flag to set (default true; false unmarks)

reasonstring

Optional immutable root reason whose nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references

Response

mode'async' required

The command was accepted asynchronously

jobIdstring required

Tracking job ID for the queued command

status'queued' required

Queue admission status

Changes

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