Tags/destroy/en
Contents |
tags/destroy
Delete a tag for the authenticating user.
URL
http://api.t.sina.com.cn/tags/destroy.(json%7Cxml)
Supported Formats
XML/JSON
HTTP Request Method
POST/DELETE
Requires Authentication
true
See the Authorization Mechanism Statement for authorization details
Requests Count Limitation
true
See the Interface Access Rights Statement for the Request Count Limitaiton details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | true | string | AppKey for the application to identify it. ( This parameter is not needed when using OAuth) |
tag_id | true | int64 | tag ID that is going to be deleted. |
Notes
None
Example Request
- XML
- curl -u "username:password" -d "tag_id=1234" "http://api.t.sina.com.cn/tags/destroy.xml?source=appkey"
- JSON
- curl -u "username:password" -d "tag_id=1234" "http://api.t.sina.com.cn/tags/destroy.json?source=appkey"
Response
XML Example
<?xml version="1.0" encoding="UTF-8"?> <result>0</result>
JSON Example
{ "result" : "0" }
Others
None
文档更新时间: 21 January 2011