コールドメールAPI
送信ドメインを解約する
送信ドメインの更新を止めます。期間の終わりまでは送ります。無料。
送信ドメインの更新を止めます。period_end の1日前(ends_at)までは送り続け、その後手放されます。メールボックスもそのアドレスもなくなります。送ったメールと受け取った返信は残ります。返金はなく、取り消せません。新しいドメインは POST /email/domains で買ってください。それが送信者の最後のドメインだった場合、そのときに送信者のキャンペーンは no_domains で一時停止します。もう一度解約しても何も変わりません。テストキーでは、サンドボックスのシミュレーションのドメインは解約できません。無料です。
- 課金: 無料。
テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。
DELETE
apiKeyheader
AuthorizationBearer <APIキー>Authorization: Bearer won_live_..., a key from the console.
id*stringDomain ID, such as dom_5r4k2m9x7p1q8w3e.
長さ
length <= 40Idempotency-Key?stringAny unique string. A retry with the same key returns the first response, instead of not_found for what is already gone.
長さ
length <= 255The result.
application/json- response
data*notice*|A plain sentence when there is something to know about this answer. Null otherwise.
usage*Nothing is charged here. The balance, for reference.
curl -X DELETE 'https://api.won.dev/v1/email/domains/dom_5r4k2m9x7p1q8w3e'レスポンスの例
{ "data": { "id": "dom_5r4k2m9x7p1q8w3e", "sender_id": "snd_4k2m9x7p1q8w3e5r", "domain": "northwindseating.example", "status": "ending", "end_reason": "canceled", "mailboxes": [ { "address": "alex@northwindseating.example", "name": "Alex Morgan" }, { "address": "alex.morgan@northwindseating.example", "name": "Alex Morgan" }, { "address": "a.morgan@northwindseating.example", "name": "Alex Morgan" } ], "daily_limit": 45, "full_daily_limit": 45, "sent_today": 31, "full_speed_at": null, "price_per_month": 27, "period_end": "2026-12-28T00:00:00.000Z", "renews": false, "ends_at": "2026-12-27T00:00:00.000Z", "renewal_failed_at": null, "stats": { "sent": 812, "bounced": 9, "bounce_rate": 0.0111, "complaints": 0 }, "test": false, "created_at": "2026-11-17T09:20:03.000Z", "ready_at": "2026-11-17T09:24:41.000Z", "ended_at": null }, "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}最終更新日