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
productstringRequiredThe product's slug, such as storefront.
environmentstringRequiredThe 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" }'