System Property Insert Or Update System Property

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

This response body class contains all of the following: Inlinesystem_property_insert_or_update_system_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 '{"name:"string","value:"string"}' https://{api_host}/portal/rest/systemProperty/insertOrUpdateSystemProperty