WHM API.
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/
https://{host}:{port}/json-api/
Request
This function configures the domain to use Next Secure Record (NSEC) semantics instead of Next Secure Record 3 (NSEC3) semantics.
Note:
Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/unset_nsec3_for_domains
- A server running WHM.
https://whm-server.tld:2087/json-api/unset_nsec3_for_domains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/whm.openapi/unset_nsec3_for_domains?domain=example.com'{ "data": { "domains": [ … ] }, "metadata": { "command": "unset_nsec3_for_domains", "reason": "OK", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/updateuserdomains
- A server running WHM.
https://whm-server.tld:2087/json-api/updateuserdomains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/updateuserdomains{ "metadata": { "command": "updateuserdomains", "reason": "OK", "result": 1, "version": 1 } }
Request
This function configures the domain to use Next Secure Record (NSEC) semantics instead of Next Secure Record 3 (NSEC3) semantics.
Note:
Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/unset_nsec3_for_domains
- A server running WHM.
https://whm-server.tld:2087/json-api/unset_nsec3_for_domains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/whm.openapi/unset_nsec3_for_domains?domain=example.com'{ "data": { "domains": [ … ] }, "metadata": { "command": "unset_nsec3_for_domains", "reason": "OK", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/updateuserdomains
- A server running WHM.
https://whm-server.tld:2087/json-api/updateuserdomains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/updateuserdomains{ "metadata": { "command": "updateuserdomains", "reason": "OK", "result": 1, "version": 1 } }