Skip to main content
POST
/
api
/
domains
/
{domain_id}
/
toggle
/
whois
cURL
curl --request POST \
  --url https://domainwarden.app/api/domains/{domain_id}/toggle/whois \
  --header 'Authorization: Bearer <token>'
{
  "message": "WHOIS Monitoring has been enabled.",
  "component": "whois",
  "enabled": true
}

Authorizations

Authorization
string
header
required

You can obtain your API Token from your Domainwarden account settings.

Path Parameters

domain_id
string
required

The ID of the domain.

domain
integer
required

The ID of the domain.

Response

message
string
Example:

"WHOIS Monitoring has been enabled."

component
string
Example:

"whois"

enabled
boolean
Example:

true