Revoke a cluster's agent runtimes
Ends every runtime of the cluster. Each is disconnected within a heartbeat and cannot reconnect; a job one was running ends as lost.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255The runtimes are revoked.
curl -X DELETE 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent-runtimes'Create an agent runtime and its token POST
Makes a runtime for the cluster and returns the token it connects to the gateway with. It is shown in this response only; Wardn keeps a hash. The token is the runtime's own, never the operator's. The response holds a secret, so it is never replayed for an `Idempotency-Key`.
Revoke a cluster's credentials DELETE
Ends the cluster's certificate, its stream tokens and its unused join tokens. A connected operator is cut off within seconds, and the cluster stays out until a new join token is created and the operator joins again.