description |
---|
Updates an existing proxy resource. |
Updates an existing proxy resource.
PUT /api/management/projects/{projectId}/proxies/{proxyId}
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId | path | string | The project identifier, e.g. "movieDb". Found in the project overview screen of the management console | |
proxyId | path | string | GUID | The proxy identifier |
Proxy resources follow the standard optimistic concurrency model and so the versionNo field is required for an update.
PUT: /api/management/projects/movieDb/proxies/ec0b25dc-0c46-4a90-8610-c0886c51b709
{
"id": "ec0b25dc-0c46-4a90-8610-c0886c51b709",
"projectId": "movieDb",
"name": "Thrillers section",
"description": "Proxies current website thrillers section",
"endpoints": {
"endpoints": {
"*": {
"server": "10.65.18.4",
"ssl": true,
"headers": {
"host": "www.moviedb-oldsite.com"
}
}
},
"version": {
"versionNo": "1.3",
}
}
HTTP status code | Reason | Response model |
---|---|---|
200 | OK | Proxy |
401 | Unauthorized | Error |
404 | NotFound | Error |
422 | ValidationError | Error |
500 | InternalServerError | Error |