Folders Delete

Delete one or more folders.

Action: issuu.folder.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                     |
| folderIds (required) | list      | Comma-separated list of folder ids       |
| 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      |

Note: Any bookmarks in the folders will not be deleted. Instead these will be moved out before deletion.

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.folder.delete"/>
  <input type="hidden" name="apiKey" value="g0ch5rj9ywztlo022w70naymutm2fbbg"/>
  <input type="text" name="folderIds"/>
  <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 folder ids 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      |