logo
Handle APIDisable a domain for a handle owned by the API key

Disable a domain for a handle owned by the API key

curl -X POST "https://mail.haltman.io/api/handle/domain/disable" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "handle": "example_string",
  "domain": "example_string"
}'
{
  "ok": true,
  "updated": true,
  "handle": "example_string",
  "domain": "example_string",
  "disabled": true
}
POST
/api/handle/domain/disable
POST
API Key (header: X-API-Key)
X-API-Keystring
Required

64-character lowercase hexadecimal API key.

64-character lowercase hexadecimal API key.
Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. 64-character lowercase hexadecimal API key.

Responses

okboolean
Required
updatedboolean
Required
handlestring
Required
domainstring
Required
disabledboolean
Required