Restore DNS snapshot
Restore DNS zone to the selected snapshot. Use this endpoint to revert domain DNS to a previous configuration.
Restore DNS zone to the selected snapshot.
Use this endpoint to revert domain DNS to a previous configuration.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
domainstringRequiredExample:
Domain name
mydomain.tldsnapshotIdintegerRequiredExample:
Snapshot ID
53513053Responses
200
Success response
application/json
messagestringOptionalExample:
Request accepted401
Unauthenticated response
application/json
500
Error response
application/json
post/api/dns/v1/snapshots/{domain}/{snapshotId}/restore
POST /api/dns/v1/snapshots/{domain}/{snapshotId}/restore HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"message": "Request accepted"
}Last updated
Was this helpful?