REST API 500 Response from DELETE /tags/{tagId}/contacts

So, I am using the REST API and I’m trying to configure an endpoint for my application that will delete one tag from multiple Contacts. The receiving endpoint specified [here] is the one that I am targetting.(https://developer.infusionsoft.com/docs/rest/#!/Tags/removeTagFromContactIdsUsingDELETE)

Before I had correctly formatted my request I was receiving the “Bad Request” response; however, when I have a correctly formatted request I receive “Internal Server Error” as the response. I’m not sure who else is using this endpoint, but it looks like something is going wrong internal to the API.

Using the below url format worked for me:

https://api.infusionsoft.com/crm/rest/v1/tags/[tag id]/contacts?ids=[contact id’s]&access_token=[access token]

In addition to John’s example, you may also want to see if you have any luck using the Try the API feature of the REST API docs. Let us know how it goes.

image

1 Like