Enterprise Proxy Insert Or Update Enterprise Proxy Property

Enterprise Proxy Insert Or Update Enterprise Proxy Property

Insert a enterprise proxy property. If property with the given name already exists, the property will be updated.

Privileges required:

UPDATE PROXY

Request
URI
POST
https://{api_host}/portal/rest/enterpriseProxy/insertOrUpdateEnterpriseProxyProperty
COPY
Request Body

Show optional properties

{
    "enterpriseProxyId": 1532,
    "name": "vco.enterprise.proxy.authentication.twoFactor.enable",
    "value": "true"
}
{
    "enterpriseProxyId": 0,
    "name": "string",
    "value": "string",
    "dataType": "string",
    "isPassword": false,
    "description": "string"
}
integer
enterpriseProxyId
Required

enterpriseProxyId

string
name
Required

name

string
value
Required

value

string
dataType
Optional

dataType

Possible values are : STRING, NUMBER, BOOLEAN, JSON, DATE, DATETIME,
boolean
isPassword
Optional

isPassword

string
description
Optional

description

Responses
200

Request was successfully processed

This response body class contains all of the following: Inlineenterprise_proxy_insert_or_update_enterprise_proxy_property_result0
{
    "id": 123,
    "rows": 1
}

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"enterpriseProxyId:"integer","name:"string","value:"string"}' https://{api_host}/portal/rest/enterpriseProxy/insertOrUpdateEnterpriseProxyProperty