Skip to main content
DELETE
Remove a custom domain

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sailbox_id
string
required

Id of the Sailbox, as returned by create. It is sb_ followed by a UUID.

Pattern: ^sb_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
domain
string
required

The hostname to remove. Case, a trailing dot, and Unicode or xn-- spelling all match the same registration.

Maximum string length: 253

Response

The hostname no longer serves the Sailbox.

A hostname you own, serving one published http port.

domain
string
required

The hostname, lowercased. A name with non-ASCII characters comes back in its ASCII form.

Example:

"app.example.com"

sailbox_id
string
required

Sailbox the hostname serves.

guest_port
integer
required

Port inside the Sailbox that traffic to this hostname reaches.

Required range: 1 <= x <= 65535
url
string<uri>
required

The hostname's HTTPS address.

Example:

"https://app.example.com"

cname_target
string
required

Hostname to point your DNS at with a CNAME record. It is the same for every domain in your organization, so you can read it once and reuse it.

created_at
string<date-time>
required

When the hostname was registered.