Skip to navigation

Update Reflection Note

Update the title and/or body of a reflection note the current user created.

Authentication: Required — Bearer token (member).

Path parameters:

  • id (required) — Note slug

Request body:

  • note.body (required) — Reflection content as HTML (replaces the existing body)
  • note.title (optional) — Keeps the existing title when omitted

Response: The updated note.

Errors:

  • 422 — { "error": "A reflection needs some content." } when body is blank
  • 403 — { "error": "You can only edit your own reflections." } for notes shared by an admin or written by someone else
  • 404 — { "error": "Reflection not found." }

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Note slug

Request

This endpoint expects an object.
noteobjectOptional

Response

OK