Delete an Exclusion Group by its ID if it has no associated Target Groups
DELETE/demand/accounts/:account_id/exclusion-groups/:exclusion_group_id
Deletes a specific exclusion group. Prerequisite: You must remove all target groups from an exclusion group before you can delete it. Attempting to delete a group that still contains target groups will result in a failed request with a conflict error.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 500
Successfully deleted the Exclusion Group.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
An already existing resource has conflicts with the request.
A request failed due to an internal error.