Table of Contents

Host mask

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

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

Parameters

Name Description
userId user ID
hostsMask host mask

Response

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

Errors

Code Value
1 invalid session
2 invalid service name
3 invalid result
4 invalid format or value of parameters
7 access denied