Update a Note

PUT/api/notes/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
description String New note text.
curl -X PUT "https://yoursite.com/api/notes/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "description": "..." }'

Success-Response:

HTTP/1.1 200 OK
{
    "status": true,
    "message": "Note updated successfully"
}

Validation-Error:

HTTP/1.1 422 Unprocessable Entity
{
    "status": false,
    "error": "validation_failed",
    "message": "Note validation failed",
    "errors": {
        "description": "The description field is required."
    }
}
MethodPUT
Path/api/notes/{id}
GroupNotes
Sincev3.0.0
Defined inmodules/api/controllers/Notes.php