Skip to main content
DELETE
/
domains
/
{id}
JavaScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});

const domain = await client.domains.delete('dns_01kabn43yqyxn2bx4ve84mczd3');

console.log(domain.id);
{
  "data": {
    "id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://nuntly.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Path Parameters

id
string
required

The id of the domain

Example:

"dns_01kabn43yqyxn2bx4ve84mczd3"

Response

Successful response.

data
object
required