Bloss Docs

Discard a brand that was never subscribed

Developers
POST
/agencies/{orgId}/brands/{brandId}/discard

Delete a brand that has never had a subscription (billing still incomplete), such as one made with agency.brands.create and not wanted. Any other brand answers 409 conflict: a subscribed brand can only be deleted from its settings. Everything in the brand goes with it. Preview with ?dryRun=true.

Authorization

bearerAuth agency:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: agency:write

Path Parameters

orgId*string

An agency id from GET /agencies.

Length1 <= length
brandId*string
Length1 <= length

Query Parameters

dryRun?string

"true": run every check and return { dryRun: true, wouldChange } without changing anything.

Value in"true""false"

Response Body

Success.

application/json
  1. response
id*string
discarded*boolean
curl -X POST 'https://example.com/api/v1/agencies/string/brands/string/discard'
{  "id": "string",  "discarded": true}

Was this page helpful?