System Property Insert Or Update System Property
Creates the specified system property. If the system property with the specified name
already exists, then the API call updates it.
Privileges required:
CREATE
SYSTEM_PROPERTY
Request
URI
POST
https://{api_host}/portal/rest/systemProperty/insertOrUpdateSystemProperty
COPY
Request Body
Show optional properties
{
"name": "string",
"value": "string"
}
{
"name": "string",
"value": "string",
"defaultValue": "string",
"isPassword": false,
"isReadOnly": false,
"dataType": "string",
"description": "string"
}
string
name
Required
name
string
value
Required
value
string
defaultValue
Optional
defaultValue
boolean
isPassword
Optional
isPassword
boolean
isReadOnly
Optional
isReadOnly
string
dataType
Optional
dataType
string
description
Optional
description
Responses
200
Request was successfully processed
Returns
system_property_insert_or_update_system_property_result
of type(s)
application/json
This response body class contains all of the following:
Inlinesystem_property_insert_or_update_system_property_result0
{
"id": 123,
"rows": 1
}
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","value:"string"}' https://{api_host}/portal/rest/systemProperty/insertOrUpdateSystemProperty