Can't delete contact list

Highlighted
Occasional Contributor

Can't delete contact list

From my ASP.NET web site I am requesting the list of contact lists, and I see there's one I created earlier (also from my ASP.NET web site) that I would like to delete.

 

The response to https://api.constantcontact.com/ws/customers/<user>/lists?access_token=<token> includes (among other things):

<entry>
   <link href="/ws/customers/<user>/lists/6" rel="edit"></link>
   <id>http://api.constantcontact.com/ws/customers/<user>lists/6</id>

 

So I'm sending an HTTP DELETE to http://api.constantcontact.com/ws/customers/<user>/lists/6?access_token=<token>

and what I get back is 403 Forbidden.

 

Is there something else I need to be doing?

 

Thanks,

Chris

 

1 REPLY 1
Highlighted
Occasional Contributor

Re: Can't delete contact list

Never mind - the solution is to do the delete on https: instead of http:

 

Chris

 

 

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured