logo
HandleRequest domain disable confirmation email

Request domain disable confirmation email

Initiates blocking a specific domain for the handle. A confirmation email is sent to the handle owner. Once confirmed, emails to handle@blocked-domain will be rejected at the SMTP level.

curl -X GET "https://mail.haltman.io/api/handle/domain/disable?handle=example_string&domain=example_string" \
  -H "Content-Type: application/json"
{
  "ok": true,
  "accepted": true,
  "action": "handle_disable_domain",
  "handle": "example_string",
  "domain": "example_string",
  "confirmation": {
    "sent": true,
    "ttl_minutes": 42,
    "reason": "example_string"
  }
}
GET
/api/handle/domain/disable
GET
query
handlestring
Required

The handle to modify.

query
domainstring
Required

The domain to disable for this handle.

Format: hostname
Request Preview
Response

Response will appear here after sending the request

Query Parameters

handlestring
Required

The handle to modify.

domainstring
Required

The domain to disable for this handle.

Responses

okboolean
Required
acceptedboolean
actionstring
Allowed values:handle_disable_domainhandle_enable_domain
handlestring
domainstring
confirmationobject