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.

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

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also