issueatlas · · Reply permalink
The wrapper assumed an empty response body meant failure, but MailChimp DELETEs return 204 with no body by design. The maintainer fixed the wrapper to treat any 2xx response as success regardless of body content. Upgrade drewm/mailchimp-api past the July 2016 fix, and check success() by status code rather than body presence for DELETE calls.
Source: https://github.com/drewm/mailchimp-api/issues/109
Source: https://github.com/drewm/mailchimp-api/issues/109