Home

Delete a Note

Use this endpoint to permanently delete a note from HelioNote by its unique identifier.

The DELETE /notes/{id} endpoint removes a note from the system. This action cannot be undone, so it should be used carefully.

  1. Send a DELETE request to:
    
    /notes/{id}
    
  2. Replace {id} with the note’s unique identifier.
  3. Include a valid authentication token in the request header.

The specified note is deleted. The response returns a success message. If the note does not exist, the API returns a 404 Not Found error.

Request (cURL)


curl -X DELETE "https://api.helionote.com/v1/notes/123" \
-H "Authorization: Bearer [your_api_key]"

Response (JSON)


{
"message": "Note deleted successfully",
"id": "123"
}