update_hosts_mask
To set or update the user host mask, use the following command:
svc=user/update_hosts_mask¶ms={"userId":<long>,
"hostsMask":"<text>"}
Parameters
The required parameters are marked with an asterisk (*).
Name | Description |
---|---|
userId* | User ID. |
hostsMask* | Host mask. |
Response
{
"hm":"<text>" /* host mask */
}
Error codes
Error code | Description |
---|---|
7 | Failed to fetch the user with ACL (ADF_ACL_USER_EDIT_FLAGS). |
6 | Failed to update the host mask. |