Update instance proxy
Это руководство доступно только на английском.
PUT
Updates an existing proxy in the instance by its index.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the instance.
Format
uuidindex*integerThe zero-based index of the proxy to update. Returns INVALID_ARGUMENT if index is out of bounds.
Format
int32application/json- body
Request 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/json- response
Response 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"
}
}'Example Response
{}Полезна ли эта страница?
