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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;72c1373f-8c67-dadc-eaab-d9c9d9d63d4a&quot;,&quot;name&quot;:&quot;aliqu&quot;,&quot;parentId&quot;:&quot;culpa incididunt anim&quot;,&quot;modifiedDate&quot;:&quot;2009-05-11T20:31:49.550Z&quot;,&quot;modifiedBy&quot;:&quot;ipsum incididunt anim&quot;}