Enterprise Update Enterprise Service

Enterprise Update Enterprise Service

Updates the enterprise service for the specified enterprise (by id or enterpriseId). Expects an _update object containing the field(s) to be updated and their corresponding value(s).

Privileges required:

UPDATE NETWORK_SERVICE

Request
URI
POST
https://{api_host}/portal/rest/enterprise/updateEnterpriseService
COPY
Request Body

Show optional properties

{
    "id": 0,
    "_update": {}
}
{
    "enterpriseId": 0,
    "id": 0,
    "_update": {
        "operatorAlertsEnabled": 0,
        "alertsEnabled": 0,
        "data": {},
        "name": "string",
        "type": "string"
    }
}
integer
enterpriseId
Optional

enterpriseId

integer
id
Required

id

object
_update
Required

_update

Responses
200

Request was successfully processed

Returns enterprise_update_enterprise_service_result of type(s) application/json
This response body class contains all of the following: Inlineenterprise_update_enterprise_service_result0
{
    "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 '{"id:"integer","_update:"object"}' https://{api_host}/portal/rest/enterprise/updateEnterpriseService