Delete Account Group
BetaDELETE
/v1/sales/account-groups/{id}This endpoint is idempotent. Learn more
Deletes an account group.
Deletion fails with a validation error while the group is still in use: a type_group that is set as a customer's type cannot be deleted, and no group can be deleted while it grants product line access, backs a volume discount, or is attached to a customer registration flow.
Deleting a pricing_group first unassigns it from every customer it was applied to, so those customers immediately stop receiving its pricing.
Permissions requiredValues:customer_groups:delete
The role behind your API key or agent must grant every one of these permissions.
idstringAccount group ID.
Responses
200
Successful response for Delete Account Group