Skip to main content
DELETE
/
v1
/
domains
Delete a domain
curl --request DELETE \
  --url https://brew.new/api/v1/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domainId": "dom_xxx"
}
'
{
  "domainId": "dom_xxx",
  "deleted": true
}

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Body

application/json
domainId
string
required
Required string length: 1 - 64

Response

200 - application/json

Deleted (or already gone).

domainId
string
required
Required string length: 1 - 64
deleted
boolean
required