shadwshadw/Docs
GuidesAPIGetting Started
Dashboard
shadw REST APIOverviewErrors
  • POSTCreate a deployment
  • GETGet a build
  • POSTPromote a deployment
  • POSTRedeploy a project
  • DELDelete a deployment
APIs & SDKs/shadw REST API/Delete a deployment

Delete a deployment

DELETEhttps://api.shadw.cloud/v1/deployments/{id}

Delete a single deployment and unregister its functions.

Authentication

AuthorizationbearerToken

A platform API key (hive_…, created under Settings → API Keys) or a short-lived JWT minted with POST /v1/token. An API key scopes the request to the team it was created under.

Path parameters

idstringRequired

The deployment id to delete.

ts
const response = await fetch('https://api.shadw.cloud/v1/deployments/{id}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY', // hive_… (Settings → API Keys)
  },
});

const data = await response.json();
console.log(data);
Response
json
{ "removed": "dpl-46f4fb3397", "project": "acme-app" }