regfish
Company
Resources & Support
Resources & Support
Direct member of



© 2002-2026 regfish GmbH. All rights reserved.
rrid). This is useful for modifying the record’s name or type, or when managing multiple records with the same name and type combination.{
"type": "A",
"name": "www",
"data": "12.12.12.12"
}curl --request PATCH \
--url 'https://api.regfish.com/dns/rr/1' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '{
"type": "A",
"name": "www",
"data": "12.12.12.12"
}'{
"success": true,
"code": 0,
"response": {
"type": "A",
"name": "www.example.com.",
"data": "12.12.12.12",
"id": 1,
"auto": true,
"active": true,
"ts_created": 1,
"ts_updated": 1
}
}{
"success": false,
"message": "Invalid request",
"error": "Invalid request"
}{
"success": false,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"success": false,
"message": "DNS record not found",
"error": "DNS record not found"
}{
"success": false,
"message": "DNS record update violates a zone constraint",
"error": "DNS record update violates a zone constraint"
}{
"success": false,
"message": "Unexpected error",
"error": "Unexpected error"
}The Regfish DNS API is a great solution for developers who want to automate domains and DNS zones. Become part of the community and benefit from DNS automation. The DNS API is available free of charge to every Regfish customer.