POST
Act on a pod now

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
cluster_id
string<uuid>
required
namespace
string
required
pod
string
required
action
enum<string>
required
Available options:
kill_pod,
isolate_network,
scale_to_zero,
quarantine_label
event_id
string<uuid>
workload_kind
enum<string>
Available options:
Deployment,
StatefulSet
workload_name
string
dry_run
boolean
reason
string
Maximum string length: 1000

Response

The action.