Update a proxy
Log in to add to favouritesPUT/api/management/projects/{projectId}/proxies/{proxyId}
Parameters
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
proxyId(required) | path | string | guid | The proxy identifier |
Responses
Examples
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",
}
}
Remarks
Proxy resources follow the standard optimistic concurrency model and so the versionNo field is required for an update.