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