This function removes a DNSSEC security key.
Important:
When you disable the DNS role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ DNSSEC \ remove_zone_key \ domain='example.com' \ key_id='1'
{- "apiversion": 3,
- "func": "remove_zone_key",
- "module": "DNSSEC",
- "result": {
- "data": {
- "domain": "example.com",
- "key_id": "12",
- "success": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}