Skip to content
API reference/Domain names

Remove a business email address

Try it

Email to box@domain stops arriving.

DELETE/api/v1/domain-names/{registration_id}/email-forwards/{box}

Authentication

An API key as Authorization: Bearer or x-api-key. It needs the domains:write scope — connect, check and remove domains.

domains:writeChanges the live siteIdempotency-Key optionalMCP tool: remove_domain_email

Parameters

Named placeholders go in the path; the rest in the query string.

registration_idstringPath · required
The domain name's id.1 to 100 characters
boxstringPath · required
1 to 64 characters

Response

200 with JSON on success (schema on the right). Errors use the standard envelope; a retry with the same Idempotency-Key gets the first answer back (how retries work).

curl
curl -X DELETE 'https://websites.workflowcorp.com/api/v1/domain-names/REGISTRATION_ID/email-forwards/' \
  -H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"
Example arguments
{
  "registration_id": "REGISTRATION_ID",
  "box": ""
}
Response schema
{
  "type": "object",
  "properties": {
    "email_forwards": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "box": {
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "box",
          "to"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "email_forwards"
  ],
  "additionalProperties": false
}