Skip to main content
POST
Decommission a monthly runtime lease

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

lease_id
string
erforderlich

Monthly runtime lease ID

Abfrageparameter

force
boolean
Standard: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.

Body

application/json
force
boolean
Standard: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}$

Antwort

Confirmed synchronous runtime action result

data
object
meta
object