Skip to content

Update Item Metadata

Kunal Varma edited this page Mar 9, 2016 · 1 revision

Update an Item's MetaData

$metadata = array("name" => "new-name.txt");
$update = $client->updateMeta($itemID, $metadata);

Updating Item's Parent Reference

You can move an item to a new location via the parentReference property

$metadata = array("parentReference" => ["id" => $parentID]);
$updatedItem = $client->updateMeta($itemID, $metadata);

Table of Contents

Getting Started

Examples

Clone this wiki locally