Last updated 11 months ago
Example:
curl -X DELETE -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "id=ygCbHF6N2XK0iNjO" "https://api.yumpu.com/2.0/embed.json"
require_once('../yumpu.php'); $yumpu = new Yumpu(); $id = 'ygCbHF6N2XK0iNjO'; $deleteEmbed = $yumpu->deleteEmbed($id); print_r($deleteEmbed);
var yumpu = require('yumpu'); yumpu.setToken('yourToken'); var parameters = { id: 'ygCbHF6N2XK0iNjO' }; yumpu.deleteEmbed(parameters, function(statusCode, document){ console.log('Status: ' + statusCode); console.log(document); });
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" }
Name
Optional / Required
Data type
Description
Default
id
required
String
One of your embed ids