Skip to main content
PATCH
/
api
/
agents
/
{agentId}
Update Agent
curl --request PATCH \
  --url https://api.usehavoc.com/api/agents/{agentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "model": "<string>",
  "status": "<string>"
}
'

Authorizations

Authorization
string
header
required

Clerk JWT Token — obtained from the Havoc frontend via Clerk authentication.

Path Parameters

agentId
string
required

Body

application/json
name
string
model
string
status
string

Response

200

Agent updated