Deleting an account group

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

Deleting an account group

Deletes an account group. Requires the following permissions to be assigned to the user making the request: * Assign management permissions * Delete account * Edit all account groups

Optional (querystring) Parameters

  • format=json|xml optional, specifies the format of output requested. See Output Formats for more information
  • aid={aid} optional, changes the organization context of the current request. If an invalid account group ID is specified as a parameter, the response will come back as an HTTP/400 error. This must not match the account group to be deleted.

Request

  • {aid} account group to delete.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring