跳转到主要内容
POST
Remove one workload or a whole use case from a StackKit deployment

授权

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.

请求头

Idempotency-Key
string
必填

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

Required string length: 1 - 128

路径参数

id
string
必填

Stack ID

请求体

application/json
selector_kind
enum<string>
必填
可用选项:
workload,
use_case
selector_ref
string
必填

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

Required string length: 1 - 128
expected_spec_hash
string
必填

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

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

响应

Removal accepted or replayed; jobs are queued

data
object
meta
object