Skip to main content
DELETE
/
domains
/
{domainId}
JavaScript
import AIInbx from 'aiinbx';

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

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

console.log(domain.success);
{
  "success": true
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Path Parameters

domainId
string
required

Response

Successful response

success
enum<boolean>
required
Available options:
true,
false