Zapmail
latest
  • latest
  • v1
  1. dns
Zapmail
latest
  • latest
  • v1
  • Zapmail Docs
  • users
    • Retrieve User Details
      GET
  • workspaces
    • Retrieve all workspaces
      GET
    • Create new workspace
      POST
    • Update workspace
      PUT
  • billing
    • Add Billing Details
      POST
    • Update Billing Details
      PUT
  • mailbox
    • Retrieve All Mailboxes
      GET
    • Get Mailbox Details by ID
      GET
    • Assign New Mailboxes to Domains
      POST
    • Update mailbox
      PUT
    • Remove mailboxes on next renewal
      PUT
    • Get Authenticator code
      GET
  • payments & wallet
    • Add balance to wallet
      POST
    • Get wallet balance
      GET
    • Enable auto recharge
      POST
  • export
    • Export mailboxes
      POST
    • Add third party account details
      POST
    • Update third party account details
      PUT
  • subscriptions
    • Get all subscriptions
    • Cancel subscription
    • Upgrade existing subscription
  • domains
    • Retrieve All Domains
    • List Assignable Domains
    • Add DMARC record
    • Add Domain forwarding
    • Get Name servers to connect domain
    • Verify Name Server Propagation
    • Connect Domain with Zapmail
    • Enable email forwarding
    • Remove email forwarding
    • Enable catch all emails
    • Remove catch all emails
    • Check DNS records
    • Remove unused domains
    • Get available domains for registration
    • Get domains purchase payment link
  • dns
    • Get dns records
      GET
    • Add dns records
      POST
    • Update dns records
      PUT
    • Delete dns records
      DELETE
  1. dns

Update dns records

PUT
/v2/dns
This endpoints lets you update dns records for a domain.

Fields Description#

Body#

NameTypeDescription
assignedDomainIdstringThe unique identifier for the domain to which the DNS record is assigned.
hoststringThe domain or subdomain for which the DNS record applies.
valuestringThe corresponding value of the DNS record, such as an IP address or another domain.
recordTypestringThe type of DNS record (e.g., A, CNAME, MX, TXT).
cdfIdstringThe unique identifier for the CDF associated with the domain.
zoneIdstringThe unique identifier for the DNS zone.

Request

Header Params
x-auth-zapmail
string 
required
Example:
{{x-auth-zapmail}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.zapmail.ai/api/v2/dns' \
--header 'x-auth-zapmail: '

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Add dns records
Next
Delete dns records
Built with