Endpoints
Patch Endpoint Settings
Changed onUpdate runtime settings for an inactive endpoint. At least one field must be provided. Stop the endpoint first if it is active.
patch/endpoints/{endpoint_id}
Request
- Base URLhttps://external.aieev.cloud:5000/external/api/v1
- URLhttps://external.aieev.cloud:5000/external/api/v1/endpoints/{endpoint_id}
- AuthHTTP bearer
Path parameters
endpoint_idstring required
Unique endpoint ID.
Request body
Example request
{
"container_start_command": "python app.py",
"container_env_vars": [
{
"key": "ENV",
"value": "prod"
}
],
"container_port": 8080,
"container_health_check_path": "/healthz",
"container_health_check_timeout": 30,
"health_check_timeout": 300,
"container_metric_path": "/metrics",
"auth_mode": "api_key"
}Response
Updated endpoint settings.
Example response
{
"auth_mode": "api_key"
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info