DELETE
/
v1
/
teams
/
{teamId}
/
brands
/
{brandId}
TypeScript client
import { OctosparkClient } from '@octospark/sdk'

const client = new OctosparkClient({
  token: process.env.OCTOSPARK_TOKEN
})

const response = await client.brands.deleteBrand({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
  brandId: process.env.OCTOSPARK_BRAND_ID ?? "brandId",
})
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required

Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.

brandId
string
required

Brand id (UUID), as returned by the list brands and create brand endpoints.

Response

Success

deleted
boolean
required