Updating AppliesToFunction Details
Last updated on 07 October, 2024You can use LogicMonitor REST API v3 to update AppliesToFunction details. You must authenticate yourself before making the API request.
To make partial updates to an AppliesToFunction, make a PATCH
request. To completely update an AppliesToFunction, make a PUT
request.
URI: PATCH /setting/functions/{id}
URI: PUT /setting/functions/{id}
Note: As per REST standards, any property which is not specified in the PUT request will revert to its default value.
Parameter | Type | Description |
id | Integer | (Mandatory) The Id of the AppliesToFunction that you want to update. |
param | String | Parameters of the user defined function. |
originRegistryId | String | The Registry ID of the Exchange Integration this module is based from, including this field will set this as the module’s import base and mark the ID’s version as audited. Set integration metadata if originRegistryId is defined in request. |
reason | String | Specify the reason to update the AppliesToFunction. |
ignoreReference | Boolean | Default false. If false, then return error if function name changed and function is referred by any LMModule or function. |
code | String | (Mandatory) The AppliesToFunction code. Note that the special characters may need to be escaped. |
name | String | (Mandatory) The name of the AppliesToFunction. |
description | String | The description of the AppliesToFunction. |