/api/notes/by-id/{noteId}PATCHapplication/jsonrequiredcurl -X PATCH "https://bri.fyi/api/notes/by-id/<noteId>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "action": "update", "title": "string", "content": "string", "visibility": "public", "expiresInDays": 30 }'