Updating a label
POST https://{{base_url}}/v6/groups/{{groupId}}/update.json
Updating a label
Updates a label (formerly called group) in ThousandEyes, based on properties provided in the POST data. In order to edit a label, the user must have access to the target label, and have access to modify the objects that the label contains. For example, to update an agent label, the user needs the Edit Agents permission assigned to their role.
Regular users are blocked from using any of the POST-based methods.
Optional (Querystring) Parameters
- format=json|xml optional, specifies the format of output requested. See Output Formats for more information
- aid={aid} optional and requires the user to be assigned to the target account group, specifies the account group context of the request, obtained from the /account-groups endpoint. Specifying this parameter without the user being assigned to the target account will result in an error response. See Account group context for more information
Request
- groupId the label that you wish to update, found in either the /groups or the /groups/{type} endpoint.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |