Skip to main content
POST
/
api
/
v2
/
agents
/
{agentId}
/
undeploy
Undeploy an agent from a gateway
curl --request POST \
  --url https://forge.gloo.ai/api/v2/agents/{agentId}/undeploy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gatewayId": "<string>",
  "deploymentId": "<string>"
}
'

Authorizations

Authorization
string
header
required

API key from /api/v1/keys. Pass as Authorization: Bearer <key>.

Path Parameters

agentId
string
required

Body

application/json
gatewayId
string
deploymentId
string

Response

200

Undeploy initiated