Documents Delete

Delete one or more documents including all comments and ratings.

Action: issuu.document.delete

Authentication

This method requires authentication.

Request parameters

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 upload form.

<form action="http://api.issuu.com/1_0" method="post">
  <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>  

Response parameters

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.

Example responses

XML

<rsp stat="ok"/>

JSON

{
    "rsp": {
        "stat": "ok"
    }
}

Error codes

Code Message
009 Authentication required
010 Invalid API key
200 Required field is missing
201 Invalid field format