Skip to main content
PATCH
/
v1
/
workspaces
/
{workspace_id}
/
zombies
/
{zombie_id}
Update or kill a zombie
curl --request PATCH \
  --url https://api.usezombie.com/v1/workspaces/{workspace_id}/zombies/{zombie_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config_json": "<string>",
  "status": "killed"
}
'
{
  "zombie_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "killed",
  "config_revision": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string<uuid>
required

UUIDv7 of the workspace.

zombie_id
string<uuid>
required

UUIDv7 of the zombie.

Body

application/json
config_json
string

The new zombie config as a JSON string. Validated server-side.

status
enum<string>

Set to "killed" to cancel any in-flight session and mark the zombie killed.

Available options:
killed

Response

OK

zombie_id
string<uuid>
status
enum<string>

Present only when the request body included status:"killed".

Available options:
killed
config_revision
integer<int64>