For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete domain

Delete a domain registered on our API

 curl https://api.acymailer.com/api/deleteDomainIdentity \
 -X DELETE \
 -H 'Content-Type: application/json' \
 -H 'API-KEY: your-license-key' \
 -H 'Version: external' \
 -d '{"domain": "example.com","siteUrl": "https://example.com"}'
<?php
  
$acymailer = new AcyMailer\SendingService('your-license-key');

$domain = $acymailer->deleteDomain('example.com');
import {AcyMailer} from '@acymailing/sending-service';

const mailer = new AcyMailer('your-license-key');

await mailer.deleteDomain({name: 'example.com'});

POST /api/deleteDomainIdentity

Delete a domain registered on our API

Headers

Name
Value

Content-Type

application/json

API-KEY

<license-key>

Version

Must be "external"

Body

{
    "domain": "example.com",
    "siteUrl": "https://example.com"
}
  • domain must your domain that you've registered

  • siteUrl must be the same value that you've added when you've registered the domain

Response

Last updated