Delete

Delete one access tag

Parameters:

Name

Optional / Required

Data type

Description

Default

id

required

String

One of your access tag ids

‚Äč

curl
PHP
JavaScript
Java
curl

Example:

curl -X DELETE -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "id=pR0VV9tCh5q4ZrEx" "http://api.yumpu.com/2.0/account/access_tag.json"
PHP

Example:

require_once('../yumpu.php');
$yumpu = new Yumpu();
$id = 'pR0VV9tCh5q4ZrEx';
$deleteAccessTag = $yumpu->deleteAccessTag($id);
print_r($deleteAccessTag);
JavaScript

Example:

var yumpu = require('yumpu');
yumpu.setToken('yourToken');
var parameters = {
id: 'pR0VV9tCh5q4ZrEx'
};
yumpu.deleteAccessTag(parameters, function(statusCode, document){
console.log('Status: ' + statusCode);
console.log(document);
});
Java

Example:

Yumpu y = new Yumpu("your access token");
String id = "pR0VV9tCh5q4ZrEx";
System.out.println(y.deleteAccessTag(id));

Whatever language you are using, the result will be the same.

{
"state": "success",
"completed_in": "0.0718"
}