Deployments
Destroy deployment
Destroy a managed Core instance through Blnk Cloud.
/deployments/{deployment_id}/destroyUse this endpoint to destroy a managed deployment. Cloud tears down the hosted Core and its infrastructure. See Managed instances to learn more.
The response means destroy has started, not that it is finished. Status moves to DESTROYING, then DESTROYED. Track progress with Get deployment details or List deployments.
Enterprise authentication
Send these requests to https://api.cloud.blnkfinance.com on Blnk Cloud. On a self-hosted Enterprise deployment, send them to ENTERPRISE_PUBLIC_URL.
Pass an Enterprise API key, or an OAuth access token, in the X-blnk-key header. Create the key in Enterprise API keys, or issue a token with Enterprise OAuth.
This credential comes from the Cloud or Enterprise workspace. A Core API key belongs to the Core instance.
X-blnk-keystring
Enterprise API key, or an OAuth access token.
Path
deployment_idstring
Unique id of the deployment to destroy (deploy_...). Do not pass instance_id here.
Response
messagestring
Confirmation that destroy has started. A follow-up Get deployment details shows status: "DESTROYING" and a destroyed_at timestamp, then DESTROYED.