Skip to main content
POST
Decommission a monthly runtime lease

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

路径参数

lease_id
string
必填

Monthly runtime lease ID

查询参数

force
boolean
默认值:false

Request exact generation-bound provider reconciliation when the runtime is unreachable. Force is accepted only when the control plane can prove restart-safe, HA-fenced durable custody before it cancels the lease. Also accepted as a {"force": true} JSON body. An empty request defaults to false.

请求体

application/json
force
boolean
默认值:false
expected_resource_generation_digest
string

Optional optimistic concurrency claim. Provider teardown is refused with 409 unless this digest still identifies the current lease resource generation.

Pattern: ^[0-9a-f]{64}$

响应

Confirmed synchronous runtime action result

data
object
meta
object