Rename or reparent a note folder

Updates a folder title and optional root parent. The frontend also sends this request through POST with _method=patch for its edit flow.

Authentication

AuthorizationBearer

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

Path parameters

idlongRequired

Query parameters

_methodenumOptional
Laravel method override used by the frontend's axios POST call.
Allowed values:

Request

This endpoint expects an object.
titlestringRequired
root_folder_idinteger or nullOptional
batch_idlongOptional
Selects the academic year

Response

Folder updated.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error