Mail
Mail DNS Settings

Get the server's default DMARC record

This function retrieves the server's default DMARC record.

The system uses the default DMARC record when creating new accounts or applying DMARC policies that don't specify a custom record.

get/get_default_dmarc_record

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "payload": {
      "record": "v=DMARC1; p=none;"
    }
  },
  "metadata": {
    "command": "get_default_dmarc_record",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.