DELETE
/
conversations
/
{conversationId}
/
notes
/
{noteId}

Example JS Code to Delete a Note

const apiUrl = 'https://api.chatvolt.ai';
const apiKey = 'YOUR_API_KEY';
const conversationId = 'YOUR_CONVERSATION_ID';
const noteId = 'YOUR_NOTE_ID';

const res = await fetch(
  `${apiUrl}/conversations/${conversationId}/notes/${noteId}`,
  {
    method: 'DELETE',
    headers: {
      Authorization: `Bearer ${apiKey}`,
    },
  }
);
// Delete endpoints return 204 No Content
console.log('Deleted successfully', res.status);

Authorizations

Authorization
string
headerrequired

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

Path Parameters

conversationId
string
required

ID of the conversation.

noteId
string
required

ID of the note to delete.