Skip to content
Docs
Zones

Delete zone

Delete zone

client.zones.delete(stringzoneID, RequestOptionsoptions?): void
DELETE/zones/{zoneId}

Permanently deletes a zone and all its associated resources

ParametersExpand Collapse
zoneID: string

Delete zone

import KeycardAPI from '@keycardai/api';

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

await client.zones.delete('zoneId');
Returns Examples