本文へスキップ
Won.dev
ドキュメントAPIリファレンス
コールドメールAPI

送信ドメインを解約する

送信ドメインの更新を止めます。期間の終わりまでは送ります。無料。

送信ドメインの更新を止めます。period_end の1日前(ends_at)までは送り続け、その後手放されます。メールボックスもそのアドレスもなくなります。送ったメールと受け取った返信は残ります。返金はなく、取り消せません。新しいドメインは POST /email/domains で買ってください。それが送信者の最後のドメインだった場合、そのときに送信者のキャンペーンは no_domains で一時停止します。もう一度解約しても何も変わりません。テストキーでは、サンドボックスのシミュレーションのドメインは解約できません。無料です。

  • 課金: 無料。

テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。

DELETE
/email/domains/{id}

認証

apiKey
headerAuthorizationBearer <APIキー>

Authorization: Bearer won_live_..., a key from the console.

パスパラメータ

id*string

Domain ID, such as dom_5r4k2m9x7p1q8w3e.

長さlength <= 40

ヘッダーパラメータ

Idempotency-Key?string

Any unique string. A retry with the same key returns the first response, instead of not_found for what is already gone.

長さlength <= 255

レスポンスボディ

The result.

application/json
  1. 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  }}

最終更新日