PATCH
/
domains
/
{id}
TypeScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: 'My API Key',
});

const domain = await client.domains.update('dns_FdfQe2eZAzRrHCXKSr7VsxUz');

console.log(domain.id);
{
  "data": {
    "id": "dns_01jh8xggryggczvjv4xfff4rwn",
    "org_id": "org_01jh6jk82zjq9deye73h0mzcaq",
    "kind": "domain"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The domain id previously created

Body

application/json

Response

200
application/json

A successful response

The response is of type object.