Tags/destroy
(→格式) |
|||
第3行: | 第3行: | ||
===URL=== | ===URL=== | ||
− | http://api.t.sina.com.cn/tags/destroy | + | http://api.t.sina.com.cn/tags/destroy.format |
===格式=== | ===格式=== |
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