Skip to main content
POST
/
api
/
domains
/
{domain_id}
/
toggle
/
ssl
cURL
curl --request POST \
  --url https://domainwarden.app/api/domains/{domain_id}/toggle/ssl \
  --header 'Authorization: Bearer <token>'
{
  "message": "SSL Monitoring has been enabled.",
  "component": "ssl",
  "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:

"SSL Monitoring has been enabled."

component
string
Example:

"ssl"

enabled
boolean
Example:

true