Update instance proxy
Diese Anleitung gibt es nur auf Englisch.
War diese Seite hilfreich?
Diese Anleitung gibt es nur auf Englisch.
War diese Seite hilfreich?
Updates an existing proxy in the instance by its index.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the instance.
uuidindex*integerThe zero-based index of the proxy to update. Returns INVALID_ARGUMENT if index is out of bounds.
int32application/jsonRequest to update an existing proxy in an instance.
proxy*The new proxy configuration to replace the existing one.
Response after successfully updating a proxy.
application/jsonResponse after successfully updating a proxy. Empty response indicates success.
curl -X PUT 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/proxies/0' \ -H 'Content-Type: application/json' \ -d '{ "proxy": { "type": "HTTP", "address": "string" }}'{}curl -X PUT 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/proxies/0' \
-H 'Content-Type: application/json' \
-d '{
"proxy": {
"type": "HTTP",
"address": "string"
}
}'{}