Update a Folder

PATCH {{baseUrl}}/cms/v3/pages/landing-pages/folders/:objectId?archived=<boolean>

Sparse updates a single Folder object identified by the id in the path. You only need to specify the column values that you are modifying.

Request Params

KeyDatatypeRequiredDescription
archivedstringSpecifies whether to update deleted Folders. Defaults to false.

Request Body

{"category"=>"<integer>", "created"=>"<dateTime>", "deletedAt"=>"<dateTime>", "id"=>"<string>", "name"=>"<string>", "parentFolderId"=>"<long>", "updated"=>"<dateTime>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;category&quot;:&quot;\u003cinteger\u003e&quot;,&quot;created&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deletedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentFolderId&quot;:&quot;\u003clong\u003e&quot;,&quot;updated&quot;:&quot;\u003cdateTime\u003e&quot;}