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
Key | Datatype | Required | Description |
---|---|---|---|
archived | string | Specifies 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"category":"\u003cinteger\u003e","created":"\u003cdateTime\u003e","deletedAt":"\u003cdateTime\u003e","id":"\u003cstring\u003e","name":"\u003cstring\u003e","parentFolderId":"\u003clong\u003e","updated":"\u003cdateTime\u003e"}