Allows updating directory's properties.
PATCH {{baseUrl}}/directories/:id/properties
Allows updating directory metadata, including the parentId (which triggers a move of the current directory), or its visibility by moving it under a parentId that has a different visibility, causing this change to propagate to its inner contents.
Changing the parentId to a parent that already contains a folder with the same name is not possible, an error will be thrown.
Request Body
{"name"=>"<string>", "type"=>"<string>", "parentId"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"72c1373f-8c67-dadc-eaab-d9c9d9d63d4a","name":"aliqu","parentId":"culpa incididunt anim","modifiedDate":"2009-05-11T20:31:49.550Z","modifiedBy":"ipsum incididunt anim"}