## Delete document by ID or customId `client.documents.delete(stringid, RequestOptionsoptions?): void` **delete** `/v3/documents/{id}` Delete a document by ID or customId ### Parameters - `id: string` ### Example ```typescript import Supermemory from 'supermemory'; const client = new Supermemory({ apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted }); await client.documents.delete('id'); ```