Folders

Update a folder

Renames or moves a folder. Send both fields: a parentId that is left out or null moves the folder to the root. A folder can't be moved under itself or under one of its subfolders.

put/folders/{id}

Request

  • Base URL
    https://api5.optimove.net/content/v1
  • URL
    https://api5.optimove.net/content/v1/folders/{id}
  • Auth
    API key in header X-API-KEY

Request body

namestring required

Folder name. Must be unique (case-sensitive) among the folders with the same parent.

parentIdstring uuid nullable

Id of the parent folder. Leave out or set to null for a root folder.

Example request

{
  "name": "Summer campaign"
}

Response

The updated folder.

idstring uuid required
namestring required
parentIdstring uuid nullable

Id of the parent folder, or null for a root folder.

createdAtstring date-time required
createdBystring required
updatedAtstring date-time required
updatedBystring required

Example response

{
  "name": "Summer campaign"
}

Changes

No recorded changes to this operation across all 1 revision of this API.