import Honcho from 'honcho-ai';const client = new Honcho({ apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted});async function main() { const collection = await client.apps.users.collections.delete('app_id', 'user_id', 'collection_id'); console.log(collection);}main();
Copy
"<any>"
collections
Delete Collection
Delete a Collection and its documents
DELETE
/
v1
/
apps
/
{app_id}
/
users
/
{user_id}
/
collections
/
{collection_id}
JavaScript
Copy
import Honcho from 'honcho-ai';const client = new Honcho({ apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted});async function main() { const collection = await client.apps.users.collections.delete('app_id', 'user_id', 'collection_id'); console.log(collection);}main();