list_dns_records, add_dns_record, update_dns_record, delete_dns_record
Manage records in the DNS zone of a domain you own (DNS-managed through PageWeave).
Records live in the external DNS zone โ they only apply to domains whose DNS PageWeave manages (see Domains).
Actions
list
List DNS records for a domain you own.
Parameters:
domainโ Domain name (exact match)typeโ Optional filter by record type (A,AAAA,ALIAS,CNAME,MX,TXT,NS,SRV)hostโ Optional filter by host/subdomain (empty string = apex)
add
Add a DNS record.
Parameters:
domainโ Domain name (exact match)typeโ Record type:A,AAAA,ALIAS,CNAME,MX,TXT,NS,SRVhostโ Host/subdomain (empty string or@= apex)recordโ Record value (e.g. IP, hostname, TXT content)ttlโ TTL in secondspriorityโ Priority (MX/SRV only)weightโ Weight (SRV only)
Requires confirmation.
update
Update a DNS record by record_id. Only provided fields change.
Parameters:
domainโ Domain name (exact match)record_idโ Record id (fromlist_dns_records)recordโ New record value (optional)hostโ New host/subdomain (optional)ttlโ New TTL in seconds (optional)priorityโ New priority, MX/SRV only (optional)weightโ New weight, SRV only (optional)
Requires confirmation.
delete
Delete a DNS record by record_id. Not reversible โ requires confirmation.
Parameters:
domainโ Domain name (exact match)record_idโ Record id (fromlist_dns_records)
OAuth Scopes
| Action | Scope |
|---|---|
| list | dns:read |
| add, update, delete | dns:write |