Document Embed Delete

Delete document embed. Operation does NOT delete the document that the embed is displaying (if any).

Action: issuu.document_embed.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                     |
| embedId (required)   | integer   | Id number of embed as returned by Add or |
|                      |           | List calls                               |
| 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_embed.delete"/>
  <input type="hidden" name="apiKey" value="g0ch5rj9ywztlo022w70naymutm2fbbg"/>
  <input type="text" name="embedId"/>
  <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.

Example responses

XML

<rsp stat="ok"/>

JSON

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

Error codes

| Code | Message                   |
|------|---------------------------|
| 009  | Authentication required   |
| 010  | Invalid API key           |
| 090  | Embed not found           |
| 200  | Required field is missing |
| 201  | Invalid field format      |