Delete resource
Delete resource
client.zones.resources.delete(stringid, ResourceDeleteParams { zoneId } params, RequestOptionsoptions?): void
DELETE/zones/{zoneId}/resources/{id}
Permanently deletes a Resource
Parameters
id: string
Delete resource
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.resources.delete('id', { zoneId: 'zoneId' });