Notca Docs

Update note

Update a note by ID for the authenticated user

PATCH
/api/v1/notes/{noteId}
x-api-key<token>

In: header

Path Parameters

noteIdstring
Length1 <= length
content?string

Note content in Markdown format. Supported formatting: bold, italic, underline, strikethrough, code, link.

isPublic?boolean
files?
Default[]

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.notca.co/api/v1/notes/string" \  -H "Content-Type: application/json" \  -d '{    "content": "This is **bold**, *italic*, __underline__, ~~strikethrough~~, `code` and a [link](https://example.com) content in markdown format.",    "isPublic": true,    "files": []  }'
{
  "id": "string",
  "content": "string",
  "files": [
    "string"
  ],
  "isPublic": true,
  "folderId": "string",
  "userId": "string",
  "createdAt": "2019-08-24",
  "updatedAt": "2019-08-24",
  "folderName": "string"
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}