Update a Note
PUT/api/notes/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Note unique ID |
| title | string | optional Optional Title to update |
| description | string | optional Optional Description to update |
| is_public | number | optional Optional Public/Private to update |
curl -X PUT "https://yoursite.com/api/notes/123" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "field": "value" }' Success-Response:
HTTP/1.1 200 OK
{
"status": 200,
"messages": {"success": "Note update success"}
}