A
A
API
Search…
⌃K

Delete

Delete one embed

Parameters:

Name
Optional / Required
Data type
Description
Default
id
required
String
One of your embed ids
curl
PHP
JavaScript
Java
Example:
curl -X DELETE -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "id=ygCbHF6N2XK0iNjO" "https://api.yumpu.com/2.0/embed.json"
Example:
require_once('../yumpu.php');
$yumpu = new Yumpu();
$id = 'ygCbHF6N2XK0iNjO';
$deleteEmbed = $yumpu->deleteEmbed($id);
print_r($deleteEmbed);
Example:
var yumpu = require('yumpu');
yumpu.setToken('yourToken');
var parameters = {
id: 'ygCbHF6N2XK0iNjO'
};
yumpu.deleteEmbed(parameters, function(statusCode, document){
console.log('Status: ' + statusCode);
console.log(document);
});
Example:
Yumpu y = new Yumpu("your access token");
String id = "ygCbHF6N2XK0iNjO";
System.out.println(y.deleteEmbed(params));
Whatever language you are using, the result will be the same.
{
"state": "success",
"completed_in": "0.8208"
}
Last modified 8mo ago