update_name

The update_name function is used to rename an item.

Copied!
svc=item/update_name&params={"itemId":<long>,
			     			 "name":"<text>"}

Parameters

NameDesription
itemIdItem ID.
nameThe new name (4-50 characters).

Returned result

Copied!
{
	"nm":"<text>"	/* new item name */
}

Possible error codes:

Codedescription
7Failed to fetch the item with the desired ACL (ADF_ACL_ITEM_EDIT_NAME).
6Undefined error.
4Wrong input parameters.
Download PDF file
Download Word document

See also