API Reference
Update a metrics config
PUT
/api/metrics/config/{id}
Update a metrics config
Operation IDupdateMetricsConfig
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Request body
This request body is required.
Content typeapplication/json
requestobject3 properties
backendstringconfigobjectAdditional properties are allowed.
enabledbooleanSuccess response body
200Config updated
Config updated
Content typeapplication/json
responseobjectError responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}