You can update a group by sending the POST request to the following URL: /group/<group_id>.
|X-Auth-Account-Url (required)||Base URL of the account, e.g. http://myaccount.ispringlearn.com|
|X-Auth-Email (required)||Administrator/Publisher e-mail address.|
|X-Auth-Password (required)||Administrator/Publisher password.|
|X-Name (required)||A name of the specified group.|
|X-Description (optional)||A description of the specified group.|
|X-Users (optional)||comma-separated list of user IDs to be added to the group.|
After the request has been completed, the system returns the response with Code 200. The body of the response may contain the X-Excess-Users header with a comma-separated list of user IDs, who were not added to the group.
Possible Response Codes
|400||Bad Request||The system failed to process the request, because it did not contain all necessary parameters.|
|403||Duplicated group name||A group with the specified name already exists.|
|200||Ok||The specified group has been updated.|
POST /group/1 HTTP/1.1
X-Name: Group Name
HTTP/1.1 200 OK