API
  • Yumpu documentations
  • JS
    • Introduction
    • Quick setup
    • Magazine example's
    • Bookshelf example's
    • FAQs
  • API
    • Introduction
    • Getting started
      • API token
      • Document API
      • User API
      • Search API
      • Install SDK's
    • Limits
    • Flowchart of basic processes
    • Documents
      • Get
    • Document
      • Get
      • Post file
      • Post url
      • Put
      • Delete
    • Document hotspots
      • Get
    • Document hotspot
      • Get
      • Post
      • Put
      • Delete
    • Document progress
      • Get
    • Document categories
      • Get
    • Document languages
      • Get
    • Countries
      • Get
    • Collections
      • Get
    • Collection
      • Get
      • Post
      • Put
      • Delete
    • Section
      • Get
      • Post
      • Put
      • Delete
    • Section document
      • Post
      • Delete
    • Search
      • Get
    • User
      • Get
      • Post
      • Put
    • Embeds
      • Get
    • Embed
      • Get
      • Post
      • Put
      • Delete
    • Members
      • Get
    • Member
      • Get
      • Post
      • Put
      • Delete
    • Access tags
      • Get
    • Access tag
      • Get
      • Post
      • Put
      • Delete
    • Subscriptions
      • Get
    • Subscription
      • Get
      • Post
      • Put
      • Delete
Powered by GitBook
On this page
  • Delete one access tag
  • Parameters:

Was this helpful?

  1. API
  2. Access tag

Delete

Delete one access tag

Parameters:

Name

Optional / Required

Data type

Description

Default

id

required

String

One of your access tag ids

Example:

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

Example:

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

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);
});

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"
}
PreviousPutNextSubscriptions

Last updated 3 years ago

Was this helpful?