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