DELETE
/
v1
/
teams
/
{teamId}
/
collections
/
{collectionId}
TypeScript client
import { TxAgentKitClient } from '@tx-agent-kit/sdk'

const client = new TxAgentKitClient({
  token: process.env.TX_AGENT_KIT_TOKEN
})

const response = await client.assets.removeCollection({
  teamId: process.env.TX_AGENT_KIT_TEAM_ID ?? "teamId",
  collectionId: process.env.TX_AGENT_KIT_COLLECTION_ID ?? "collectionId",
})
{
  "deleted": true
}

Path Parameters

teamId
string
required
collectionId
string
required

Response

Success

deleted
boolean
required