Skip to main content
DELETE
/
preview
/
v2
/
instance_templates
/
{id}
Delete instance template
curl --request DELETE \
  --url https://api.sfcompute.com/preview/v2/instance_templates/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "authentication_error",
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.sfcompute.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Path Parameters

id
string
required

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

Pattern: (ntmpl_[0-9a-zA-Z_-]{1,21})|(sfc:instance_template:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){1,3})
Example:

"ntmpl_k3R-nX9vLm7Qp2Yw5Jd8F"

Response

Instance template deleted.