---
title: "Archive Brand"
method: POST
path: "/api/brands/{brand_id}/archive"
tags: ["Brands"]
---

# Archive Brand

`POST /api/brands/{brand_id}/archive`

## Request

- Base URL: `https://api.soeru.biz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.soeru.biz/api/brands/{brand_id}/archive`
- Auth: none declared. Required headers: `authorization`

ブランドを archive する。14 日後に cron が物理削除。

制約:
  - primary brand (owner の最古 active brand) は archive 不可
  - archive 時、紐付く Stripe Subscription は cancel_at_period_end で
    予約キャンセル (月末まで使える、自動課金停止)

## Path parameters

- `brand_id` string, required

## Headers

- `authorization` string, required: Bearer <token>

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
