Skip to main content
PUT/api/management/projects/{projectId}/proxies/{proxyId}

Parameters

NameParameter typeTypeFormatDescription
projectId(required)pathstring-The project identifier found in the project overview screen of the management console.
proxyId(required)pathstringguidThe proxy identifier

Responses

HTTP status codeReasonModel
401UnauthorizedError
422Validation errorError
500Internal server errorError

Examples

PUT: /api/management/projects/movieDb/proxies/ec0b25dc-0c46-4a90-8610-c0886c51b709

JSON
{
    "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.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request