update_name

The update_name function is used to rename an item.

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

Parameters

Name Desription
itemId Item ID.
name The new name (4-50 characters).

Returned result

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

Possible error codes:

Code description
7 Failed to fetch the item with the desired ACL (ADF_ACL_ITEM_EDIT_NAME).
6 Undefined error.
4 Wrong input parameters.

If you find a mistake in the text, please select it and press Ctrl+Enter.