Search the docs

Search guides, API endpoints and MCP tools.

Catalog

remove_deployment

Write grantDestructiveIdempotent

Remove a product's deployment to an environment. Vault pulls for the pair are refused from then on; its secret values return if the product is deployed there again. Refused while the product or environment is archived. Returns removed: true with the product and environment slugs. Needs write access.

Inputs

productstringRequired

The product's slug, such as storefront.

environmentstringRequired

The environment's slug, such as staging.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "remove_deployment",    "arguments": {      "product": "storefront",      "environment": "staging"    }  }}
POST/agent/v1/deployments:remove
curl -X POST https://api.qa.clankership.net/agent/v1/deployments:remove \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "product": "storefront",    "environment": "staging"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.