Package

A list of all publicly available methods for interacting with the API.

DELETE

Package delete -/package/delete/{id}

Query method

DELETEhttp://apilocal.stableproxy.com/v2/package/delete/{id}

Query parameters

IdentifierRegulationsExample
namerequiredstring"hackett.theodore"
id1required49

Code examples

async function deletePackageDelete() {
   const baseUrl = 'http://apilocal.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();
}

Examples of answers