I’m attempting to unsubscribe a contact from all emails using an API call. I’ve been trying to use the following request but it keeps giving me an error:
The Requests library defaults to form encoded data. If you need to send JSON, you’ll either need to manually set the content-type header and use data=json.dumps(json_obj), or use the json parameter.