Public A P I

Deactivate Agent

DELETE
/v2/agents/{agent_id}

Deactivate an agent. This is a soft delete: the agent can no longer start new runs, but its existing runs and their results remain retrievable.

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

agent_id*Agent Id

Web Search Agent ID, format wsa_<uuid>.

Formatuuid

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v2/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty