api.brand

remove()

api.brand.remove(id) → Promise<{ ok: true }>

删除品牌、其标志和资源,并释放它们在 Object Storage 中占用的空间。

DELETE /api/brand/:idcannot be undone
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

await api.brand.remove(id);
// or, from the object
await brand.remove();
api.brand.remove(brand_id)
# or, from the object
brand.remove()
没有垃圾桶

标志随品牌一起删除。代理从不猜测要删除哪个品牌:即使账户只有一个品牌,它的 brand 工具执行此操作时也要求提供名称或 ID。