Appearance
Update group
Updates the name or account list of an existing group. You can rename the group, change its accounts, or both.
PUT /v1/account-groups/{groupId}
Updates the name or account list of an existing group. You can rename the group, change its accounts, or both.
Parameters
groupId(path, string) required
Request body
Content-Type: application/json
name(string)accountIds(array)
Example:
json
{
"name": "Updated Marketing Accounts",
"accountIds": [
"64e1f0a9e2b5af0012ab34cd",
"64e1f0a9e2b5af0012ab34ce",
"64e1f0a9e2b5af0012ab34cf"
]
}Responses
200 — Updated
message(string)group(object)
401
404
409 — Group name already exists