update_hosts_mask

To set or update the user host mask, use the following command:

Copied!
svc=user/update_hosts_mask&params={"userId":<long>,
				   "hostsMask":"<text>"}

Parameters

The required parameters are marked with an asterisk (*).

Name

Description

userId*

User ID.

hostsMask*

Host mask.

Response

Copied!
{
	"hm":"<text>"	/* host mask */
}

Error codes

Error codeDescription
7Failed to fetch the user with ACL (ADF_ACL_USER_EDIT_FLAGS).
6Failed to update the host mask.
Download PDF file
Download Word document

See also