Delete Collection

User Intent

"How do I delete a collection? Show me collection cleanup."

Operation

SDK Method: deleteCollection() Use Case: Remove collection


Code Example (TypeScript)

import { Graphlit } from 'graphlit-client';

const graphlit = new Graphlit();

// Delete collection
await graphlit.deleteCollection('collection-id');

console.log('Collection deleted');

Important

Content in collection is NOT deleted Only collection organization is removed Content remains accessible


Last updated

Was this helpful?