cURL
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>" } '
API key from /api/v1/keys. Pass as Authorization: Bearer <key>.
Authorization: Bearer <key>
Undeploy initiated