Page tree
Skip to end of metadata
Go to start of metadata

You can add a user to a group by sending the POST request to the following URL: /group/<group_id>/member.

Request Headers

X-Auth-Account-Url (required)Base URL of the account, e.g.
X-Auth-Email (required)Administrator/Publisher e-mail address.
X-Auth-Password (required)Administrator/Publisher password.
X-User-Id (required)ID of the user, whom you want to add to the specified group.

After the request has been completed, the system returns the response with Code 201.

Possible Response Codes

400Bad RequestThe system failed to process the request, because it did not contain all necessary parameters.
403User already group's memberA given user already belongs to the specified group.
403Group membership is exceededThe number of users supported by this group has been exceeded.
404Unknown userThe specified user hasn't been found.
404Unknown groupThe specified group hasn't been found.
201CreatedA given user has been added to the specified group.


Sample Request

POST /group/1/members HTTP/1.1
-Auth-Password: password
-User-Id: 1

Sample Response

HTTP/1.1 201 Created
Server: nginx
Connection: close