v1

latestOpenAPI 3.1.02026-07-2665179189.7 KB
Deployments

Delete deployment

⚠️ This endpoint is in public preview.

Delete a deployment or spot deployment.

delete/preview/v2/deployments/{id}

Path parameters

string required

A resource path like 'sfc:deployment:acme:prod:my-deployment' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

OR
string required

A resource path like 'sfc:spot_deployment:acme:prod:my-spot_deployment' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

Example:depl_k3R-nX9vLm7Qp2Yw5Jd8F

Response

Deployment deleted.