Updating an account group

POST https://{{base_url}}/v6/account-groups/{{aid}}/update.json

Updating an account group

Modifies an account group. This can include changing the account group’s name, or modifying the list of users assigned to the account group.

Optional (querystring) Parameters

  • format=json|xml optional, specifies the format of output requested. See Output Formats for more information

Request

  • aid={aid} account group to query for detail.
  • content-type and accept headers must be set (both to application/json) when using this endpoint.
  • Request body allows update of certain account group fields:
    • accountGroupName string optional name of the account group. To rename the account group, specify a new name.
    • agents array of agent objects optional To grant access to enterprise agents, specify the agent list. agents:[{agentId: 1234}]. Note that this is not an additive list - the full list must be specified if changing access to agents.

Request Body

{"accountGroupName"=>"Postman DevNet account group updated"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring