Tags/destroy
(→返回结果) |
|||
第22行: | 第22行: | ||
===返回结果=== | ===返回结果=== | ||
− | + | ====xml==== | |
− | + | <pre> | |
− | + | <?xml version="1.0" encoding="UTF-8"?> | |
− | [{"result":"0"} | + | <result>0</result> |
+ | </pre> | ||
+ | ====Json==== | ||
+ | <pre> | ||
+ | [{"result":"0"}] | ||
+ | </pre> | ||
=== 使用示例 === | === 使用示例 === |
2010年9月20日 (一) 13:59的版本
目录 |
tags/destroy
删除标签
URL
http://api.t.sina.com.cn/tags/destroy.format
格式
xml, json
HTTP请求方式
POST
是否需要登录:
true
请求数限制
true
请求参数
- tag_id:标签ID,必填参数
- 示例:http://api.t.sina.com.cn/tags/destroy.xml?source=0000000&tag_id=123123
返回结果
xml
<?xml version="1.0" encoding="UTF-8"?> <result>0</result>
Json
[{"result":"0"}]
使用示例
- xml:
- curl -u xxx:xxxx http://api.t.sina.com.cn/tags/destroy.xml?source=0000000&tag_id=123123
- json:
- curl -u xxx:xxxx http://api.t.sina.com.cn/tags/destroy.json?source=0000000&tag_id=123123