Delete
A list of all publicly available methods for interacting with the API.
DELETE
Package delete -/package/delete/{id}
Query method
DELETEhttps://api.stableproxy.com/v2/package/delete/{id}
Query parameters
| Identifier | Regulations | Example |
|---|---|---|
| name | requiredstring | "hackett.theodore" |
| id | 1required | 49 |
Code examples
JavaScript
async function deletePackageDelete() {
const baseUrl = 'https://api.stableproxy.com/v2';
const req = await fetch(baseUrl + '/package/delete/{id}'
.replace("{id}", 49), {
method: 'DELETE',
headers: {
'Authorization': 'API-Token [YOUR TOKEN]',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"name": "hackett.theodore"
}),
}
);
const res = await req.json();
}