Arguments | Return value | REST (XML) example | REST (JSON) example | XML-RPC example
If calling by XML-RPC, note that this method takes 5 arguments, NOT a single struct, like most other methods in this API.
noneuser:123:456testmetestuser123TrueTruePOST /api/xml/blogger/deletePost HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 82
appkey=none&login=testme&password=testuser123&publish=True&postid=user%3A123%3A456
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 42
<response>true</response>
POST /api/json/blogger/deletePost HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 82
appkey=none&login=testme&password=testuser123&publish=True&postid=user%3A123%3A456
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Content-Length: 4
true
POST /api/xmlrpc HTTP/1.1
Content-Type: text/xml
Content-Length: 1058
<?xml version='1.0'?>
<methodCall>
<methodName>blogger.deletePost</methodName>
<params>
<param>
<value><string>none</string></value>
</param>
<param>
<value><string>user:123:456</string></value>
</param>
<param>
<value><string>testme</string></value>
</param>
<param>
<value><string>testuser123</string></value>
</param>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodCall>
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 329
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodResponse>