I've been trying to get the insightly api to work with python requests however I'm only able to successfully do get requests. If I try to delete an opportunities tags by supplying a key and value like the documentation suggests it always gives me an error code 417. I've also tried seeing if it wanted it as a param in the path but also no luck.
payload = {"TAG_NAME":"Warehouse"}
opp_tag = requests.delete("https://api.insightly.com/v3.1/Opportunities/number/Tags", data=json.dumps(payload), headers=my_headers)
Does anyone have any answers to this? I'm fairly new to api's in general so help would be much apreciated.