LinkRequest Data Type

Request object for linking a template to folders or unlinking a template from folders

Subtypes
MultiLinkRequest
Properties
name data type constraints description
recursive boolean required boolean True if the template shall be linked to or unlinked from the given folders recursively (including all subfolders). The default is false (not recursive)
folderIds array of string   Set of folder IDs to handle. Folder IDs may either be local or global IDs.
nodeId number   Node ID for handling channel local folders. Note that linking templates to folders is always done for the master objects. It is not possible to have a different linking for inherited or localized templates or folders.
delete boolean required boolean True to delete the template, if it is unlinked from the last folder.

Example

{
  "recursive" : true,
  "folderIds" : [ "...", "..." ],
  "nodeId" : 12345,
  "delete" : true
}