Login

Change record status

HTTP method

PUT

URL

https://api.zilore.com/dns/v1/domains/{domain_name}/records/{record_id}/status

Request parameters

Parameter

Description

domain_name

Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format.

record_id

Record identifier

record_status

Record status:

  • enabled — Active
  • disabled — Inactive
The domain name's SOA and NS system records in APEX cannot be edited.

Request example

PUT https://api.zilore.com/dns/v1/domains/example.com/records/65425/status
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0
Content-Type: application/x-www-form-urlencoded

record_status=disabled

Response example

{
"status": "ok",
"response": {
"record_id": "65425",
"record_status": "updated"
}
}