Update a note category

Updates the title and/or color of an existing note category. The frontend may submit this as POST with Laravel _method=patch.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired

Query parameters

_methodenumOptionalDefaults to patch
Laravel method override used by the current frontend POST caller.
Allowed values:

Request

This endpoint expects an object.
titlestringOptional
colorobjectOptional

Response

Category updated
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error