Edit a Group
The EditGroup function is used to edit an existing group. Administrators can change a single value or multiple values for a group per request.
GET/Remote/EditGroup
REQUEST PARAMETERS
Parameter | Type | Description | Required |
---|---|---|---|
mluser | string | Username - always in email form. | |
mltoken -or- mlpass | string | MapLarge generated auth token -or- the password for the mluser account. | |
id | long | The ID of the group to be modified. | |
groupname | string | Modify the group name. | |
description | string | The description of the group to be modified. | |
permissionlevel | string | Permission settings to modify for the group. Values: admin, editor, viewer. |
EXAMPLE REQUEST
https://my.maplarge.com/Remote/EditGroup?mluser=user@domain.com&mltoken=token&groupname=modifiedtestgroup2553&description=testdescription&id=8562
*Either a token or password can be used in any request where authentication is required.
RETURNS
{ "id": "198d7dc249174befa19ed1a801f6d5b7", "hash": null, "success": true, "processingComplete": true, "isCached": false, "authorized": true, "errors": [], "timestamp": 1446949883, "data": null }