DELETE
/
v1
/
apps
/
{app_id}
/
users
/
{user_id}
/
collections
/
{collection_id}
/
documents
/
{document_id}
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 document = await client.apps.users.collections.documents.delete(
    'app_id',
    'user_id',
    'collection_id',
    'document_id',
  );

  console.log(document);
}

main();
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required
user_id
string
required
collection_id
string
required
document_id
string
required

Response

200
application/json
Successful Response

The response is of type any.