> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesfinity.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a Note

> Deletes an existing note. Only the original author may delete a note.

Deletes an existing note.

<Note>
  Only the **original author** may delete a note.
</Note>

### Path Parameters

* **id** (*required*, string): Note ID, from [List Notes](/api-reference/endpoint/list-notes).

### Request Body

| Field     | Type   | Required | Description                                                                              |
| --------- | ------ | -------- | ---------------------------------------------------------------------------------------- |
| `user_id` | string | Yes      | ID of the team member performing the delete. Must match the original author of the note. |

### Example Request

```json theme={null}
{
  "user_id": "507f1f77bcf86cd799439033"
}
```

### Response (200)

```json theme={null}
{
  "success": true
}
```

### Errors

| Status | Description                          |
| ------ | ------------------------------------ |
| 403    | Only the author can delete this note |
| 404    | Note not found                       |


## OpenAPI

````yaml DELETE /v2/notes/{id}
openapi: 3.0.1
info:
  title: Salesfinity API
  description: API documentation for Salesfinity platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://client-api.salesfinity.co
security:
  - ApiKeyAuth: []
paths:
  /v2/notes/{id}:
    delete:
      tags:
        - Notes
      summary: Delete a note
      description: Deletes an existing note. Only the original author may delete a note.
      operationId: delete-note
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Note ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteNoteDTO'
      responses:
        '200':
          description: Note deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
        '403':
          description: Only the author can delete this note
        '404':
          description: Note not found
components:
  schemas:
    DeleteNoteDTO:
      type: object
      required:
        - user_id
      properties:
        user_id:
          type: string
          description: >-
            ID of the team member performing the delete. Must match the original
            author of the note.
          example: 507f1f77bcf86cd799439011
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````