update an upstream
PATCH /api/upstreams/:upstream_id updates the identified upstream resource
Required scope: upstreams:manage:all
| Path Parameters |
|---|
upstream_id string — REQUIRED |
| Request Body — REQUIRED |
|---|
upstream object — REQUIREDauthorize boolean — REQUIRED | host string — REQUIRED | pool_size int32 — REQUIRED | port string — REQUIRED | required_scopes object — REQUIRED | scheme string — REQUIRED | strip_uri boolean — REQUIRED | noise_cancelling_enabled booleanEnables request noise detection for this upstream. An OpenAPI specification must be supplied when enabling it without an existing trained model. | noise_cancelling_configured booleanIndicates whether a trained noise-cancelling model is configured for this upstream. | openapi_spec stringAn OpenAPI document in JSON or YAML format used to train the noise-cancelling model. The document is not persisted or returned. | uris string[] — REQUIRED |
|
| Responses |
|---|
| Schema — OPTIONAL |
|---|
data object — OPTIONALauthorize boolean | host string | pool_size int32 | port string | required_scopes object | scheme string | strip_uri boolean | noise_cancelling_enabled boolean — OPTIONALEnables request noise detection for this upstream. An OpenAPI specification must be supplied when enabling it without an existing trained model. | noise_cancelling_configured boolean — OPTIONALIndicates whether a trained noise-cancelling model is configured for this upstream. | openapi_spec string — OPTIONALAn OpenAPI document in JSON or YAML format used to train the noise-cancelling model. The document is not persisted or returned. | uris string[] |
|
|
401
The client is unauthorized to access this resource. | Schema — OPTIONAL |
|---|
code string | message string |
|
403
The client is forbidden to access this resource. | Schema — OPTIONAL |
|---|
code string | message string |
|