# DELETE /domains/{name}/mail/hold/note

First published 13 Nov 2026 (release 0.2.29) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the mail group.

Dismiss the notice that a DNS check activated a domain's mail

- Who may call it: administrator, reseller, customer
- Token scope, any of: mail, all
- Answers: 200 OK

UrbeStack sets hold_ended_at and hold_ended_by to null and returns the updated domain mail settings in mail. The domain owner, the owner's reseller, or an administrator can call this operation with a token that has the mail scope.

## As commands

- [urbestack-mail-hold-check](https://urbestack.com/docs/commands/urbestack-mail-hold-check.md): Checks public DNS for domains whose mail is on hold and activates mail when a domain uses this server's nameservers or its MX record points here.
- [urbestack-mail-domain-get](https://urbestack.com/docs/commands/urbestack-mail-domain-get.md): Shows a domain's mail settings, including its effective spam policy, mail accounts, forwarders, allow and block lists, and DKIM records.

## Parameters

- `name` (path, DomainName, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X DELETE "$API/domains/example.com/mail/hold/note" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "mail": {
    "account_hourly_limit": 1,
    "accounts": [
      {
        "address": "info@example.com",
        "autoresponder": {
          "body": "text",
          "end": "text",
          "interval_days": 1,
          "start": "text",
          "subject": "text"
        },
        "created_at": "2026-09-09T10:15:00Z",
        "domain": "example.com",
        "home": "text",
        "hourly_limit": 1,
        "id": 1,
        "local_part": "text",
        "login_suspended": 1,
        "outgoing_suspended": 1,
        "quota_mb": 1,
        "updated_at": "text",
        "usage": {
          "messages": 1,
          "storage_kb": 1,
          "storage_limit_kb": 1
        }
      }
    ],
    "certificate": {
      "covers_mail": true,
      "covers_webmail": true,
      "installed": true
    },
    "check_resolvers": [
      "text"
    ],
    "default_address": {},
    "delegated_here": "yes",
    "dkim": [
      {}
    ],
    "dkim_selector": "text",
    "domain": "example.com",
    "filters": [
      {
        "action": {
          "action": "folder",
          "target": "https://example.com/new"
        },
        "address": "info@example.com",
        "created_at": "2026-09-09T10:15:00Z",
        "domain": "example.com",
        "id": 1,
        "name": "alice",
        "position": 1,
        "rules": {}
      }
    ],
    "forwarders": [
      {
        "address": "info@example.com",
        "created_at": "2026-09-09T10:15:00Z",
        "destinations": [
          "text"
        ],
        "domain": "example.com",
        "id": 1,
        "local_part": "text"
      }
    ],
    "hold": 1,
    "hold_checked_at": "text",
    "hold_ended_at": "text",
    "hold_ended_by": "text",
    "hold_nameservers": [
      "text"
    ],
    "hold_since": "text",
    "hourly_limit": 1,
    "lists": [
      {
        "created_at": "2026-09-09T10:15:00Z",
        "domain": "example.com",
        "entry": "text",
        "id": 1,
        "kind": "profile"
      }
    ],
    "outbound_ip": "text",
    "outgoing_suspended": 1,
    "policy": {
      "dkim": 1,
      "enabled": 1,
      "greylisting": 1,
      "junk_folder": 1,
      "junk_score": 1,
      "reject_score": 1
    },
    "public_nameservers": [
      "text"
    ],
    "records": [
      {
        "content": "text",
        "key": "panel.port",
        "name": "alice",
        "type": "rebuild",
        "zone": "text"
      }
    ],
    "routing": "text",
    "server_addresses": [
      "text"
    ],
    "server_policy": {},
    "smarthost": {
      "has_password": true,
      "host": "text",
      "port": 8443,
      "tls": true,
      "user": "alice"
    },
    "spam": {},
    "user": "alice",
    "web_sending": 1,
    "webmail_url": "text",
    "zone": "text"
  }
}
```

## Errors

- 400: --dismiss needs --name
- 400: --name is required
- 400: --owner needs --name
- 400: <what> must be text without control characters, 1 to <max> characters
- 400: Domain name required
- 400: Domain name too long
- 400: Invalid IPv4 address
- 400: Invalid IPv6 address
- 400: Invalid domain name
- 400: Invalid port
- 400: Invalid setting key
- 400: Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
- 400: Username '<value>' is reserved
- 401: Authentication required
- 404: No such domain: <name>
- 404: Setting '<key>' not found
- 409: The mail of <name> is not on hold
