Show examples in:
Delete a build trigger

Returns

Returns a build_trigger resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const buildTriggerId = '1822';
const buildTrigger = await client.buildTriggers.destroy(buildTriggerId);
console.log(buildTrigger);
}
run();