AI Gateways
Patch an AI Gateway
Changed onPartially updates the configuration of an existing AI Gateway. Only the fields included in the request body are changed.
patch/v1/ai-gateways/{gatewayId}
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/ai-gateways/{gatewayId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"display_name": "My AI Gateway",
"description": "An AI Gateway for my organization.",
"proxy_urls": [
{
"host": "example.com",
"port": 443,
"protocol": "https"
}
],
"min_runtime_version": "2.0",
"labels": {
"category": "finance"
}
}Response
AI Gateway updated successfully.
Example response
{
"display_name": "My AI Gateway",
"name": "my-ai-gateway",
"description": "An AI Gateway for my organization.",
"proxy_urls": [
{
"host": "example.com",
"port": 443,
"protocol": "https"
}
],
"labels": {
"category": "finance"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"min_runtime_version": "2.0",
"deployment_type": "hybrid",
"endpoints": {
"configuration": "https://acfe5f253f.cp.konghq.com",
"telemetry": "https://acfe5f253f.tp0.konghq.com"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning