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

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:pool:acme:prod:my-pool' 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: (pool_[0-9a-zA-Z_-]{1,21}|cap_[0-9a-zA-Z_-]{1,21})|(sfc:pool:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})
Example:

"pool_k3R-nX9vLm7Qp2Yw5Jd8F"

Response

Pool deleted.