Update a proxy

Updates an existing proxy resource.

PUT /api/management/projects/{projectId}/proxies/{proxyId}

Parameters

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

Remarks

Proxy resources follow the standard optimistic concurrency model and so the versionNo field is required for an update.

Example request

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",
    }
}

Response messages

HTTP status code Reason Response model
200 OK Proxy
401 Unauthorized Error
404 NotFound Error
422 ValidationError Error
500 InternalServerError Error

results matching ""

    No results matching ""