Closed dhhagan closed 3 years ago
According to the documentation you linked, the contact_ids
parameter is a query parameter, which means you would structure your request like this:
resp = sg.client.marketing.lists._(list_id).contacts.delete(query_params=dict(contact_ids=contact_id))
If this doesn't work and you need further help, please refer to the error handing guide to print the full error output and post the content in a follow-up comment so we can help you debug.
Issue Summary
When trying to structure the request for the (newish) Fluent interface, I continually get 400 errors with very little other information. Adding contacts to lists works well, but removing them does not (for me, anyway). Is this not the correct way to format the call for this endpoint.
Code Snippet
Exception/Log
Technical details: