LogoFreestyle
API Reference/Domains

Delete a domain verification request

This deletes a Freestyle Domain Verification Request. This does not remove the domain from the account if it has already been verified, however the verification code will no longer be valid.

DELETE/domains/v1/verifications

Request Body

application/jsonRequired
domainRequiredstring

The domain to create a verification code for

verificationCodeRequiredstring

The verification code

curl -X DELETE "https://api.freestyle.sh/domains/v1/verifications" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "example.com",
    "verificationCode": "string"
  }'

Verification code created

{
  "verificationCode": "string",
  "domain": "example.com"
}