Delete one or more documents including all comments and ratings.
Action: issuu.document.delete
This method requires authentication.
| Name | Data type | Description |
|----------------------|-----------|------------------------------------------|
| apiKey (required) | string | Application key for the account |
| signature (required) | string | See Signing Requests |
| names (required) | list | Comma-separated list of document names |
| format | enum | Must be "xml" or "json" - default is |
| | | "xml". See Getting Started for further |
| | | details |
| jsonCallback | string | Function wrapper for JSONP requests. See |
| | | Getting Started for further details |
Here is a basic example of an HTML form.
<form action="http://api.issuu.com/1_0" method="get">
<input type="hidden" name="action" value="issuu.document.delete"/>
<input type="hidden" name="apiKey" value="g0ch5rj9ywztlo022w70naymutm2fbbg"/>
<input type="text" name="names"/>
<input type="submit" value="Delete"/>
</form>
This method has no response parameters. If the request is successful it will return an empty "ok" response.
Note: This method will succeed even if one or more of the document names do not exist.
XML
<rsp stat="ok"/>
JSON
{
"rsp": {
"stat": "ok"
}
}
| Code | Message |
|------|---------------------------|
| 009 | Authentication required |
| 010 | Invalid API key |
| 200 | Required field is missing |
| 201 | Invalid field format |