Folders
Update a folder
Replaces the editable fields of a folder belonging to the specified matter. All fields are applied, not only the ones that changed: name is required, and omitting parentFolderId (or setting it to null) moves the folder to the matter root. Use PATCH to change individual fields.
The destination folder must be on the same matter (400 otherwise); a destination that does not exist is not rejected. If userId is omitted the authenticated user is recorded. A deleted folder cannot be updated with PUT; use PATCH with isDeleted: false to restore it.
put/matters/{matterId}/documents/folders/{folderId}
Path parameters
matterIdstring required
Unique identifier of the matter.
folderIdstring required
Unique identifier of the folder.
Request body
Example request
{
"name": "Property Documents",
"parentFolderId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"userId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8"
}Response
When request is accepted. Returns a hypermedia 'Link' object of the folder to be updated.