Skip to main content
POST
Remove one workload or a whole use case from a StackKit deployment

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required

One opaque attempt key of at most 128 characters; exactly one value.

Required string length: 1 - 128

Path Parameters

id
string
required

Stack ID

Body

application/json
selector_kind
enum<string>
required
Available options:
workload,
use_case
selector_ref
string
required

Workload slug or catalog use-case id; no surrounding whitespace.

Required string length: 1 - 128
expected_spec_hash
string
required

Native baseline hash read from the use-case configuration view.

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

Response

Removal accepted or replayed; jobs are queued

data
object
meta
object