Skip to content
Get started

Delete a source

client.promptly.sources.delete(stringsourceID, RequestOptionsoptions?): void
DELETE/api/promptly/sources/{sourceId}

Delete a source

ParametersExpand Collapse
sourceID: string
formatuuid

Delete a source

import _0ct from '0ct';

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

await client.promptly.sources.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
Returns Examples