Skip to main content
PATCH
Patch a folder

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

matterId
string
required

Unique identifier of the matter.

folderId
string
required

Unique identifier of the folder.

Body

The fields to update, as a merge-style object or a JSON Patch document.

Partial update of a folder. Only the fields supplied in the request are applied. Accepted as an application/json merge-style object or as an application/json-patch+json document with paths /name, /parentFolderId, /userId and /isDeleted.

name
string | null

Name of the folder. If omitted the current name is kept. Must not be empty or whitespace when supplied.

Maximum string length: 256
Example:

"Property Documents"

parentFolderId
string | null

Unique identifier of the parent folder. Must be a valid GUID when supplied. If omitted the folder is not moved. Set to null to move the folder to the matter root. The destination must belong to the same matter; it is not validated for existence.

Example:

"b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2"

userId
string | null

Unique identifier of the user modifying the folder. Must be a valid GUID when supplied. If null it will fallback to the authenticated user.

Example:

"750eb5c5-ac0b-7d11-4997-e0ce9d8896c8"

isDeleted
boolean | null

A deleted folder can be restored by setting this to false. Only the folder itself is restored; previously deleted subfolders and files remain deleted. Setting this to true is not supported, use DELETE instead.

Example:

false

Response

When request is accepted. Returns a hypermedia 'Link' object of the folder to be updated.

id
string | null
href
string | null
relation
string | null
method
string | null
default:GET