Get your own customer support community
 

Unable to delete all labels by API

Attempting to delete all the labels via the API by passing in an empty element in the body does not work, neither does passing in an empty element with <labels></labels>. Is it possible to delete all labels? If so, how?

Here is the curl request and response. Thanks!

curl -H "X-TrackerToken: TOKEN"
-H "Content-type: application/xml"
-d "<story><labels></labels></story>"
-X PUT http://www.pivotaltracker.com/service...

<?xml version="1.0" encoding="UTF-8"?>
<story>
<id type="integer">1494868</id>
<story_type>feature</story_type>
<url>http://www.pivotaltracker.com/story/s...</url>
<estimate type="integer">-1</estimate>
<current_state>unstarted</current_state>
<description></description>
<name>Get out of bed</name>
<requested_by>Lowell Kirsh</requested_by>
<created_at type="datetime">2009/10/15 17:10:22 UTC</created_at>
<labels>foo</labels>
</story>
 
sad I’m frustrated
Inappropriate?
1 person has this problem

The company marked this problem solved.


User_default_medium