v1

latestOpenAPI 3.0.0HERE Documentation License2026-07-142162791.8 MB
Metadata

Creates or updates metadata of a sensor rule

Updates the metadata object of the sensor rule identified by the sensorRuleId. The metadata specified in the request body is merged with the existing metadata object (or gets created if no metadata object exists); new keys are added, and the values of the existing keys are updated with the new data. Adding 'null' value for a key deletes it from the metadata object. Successful response body contains the updated metadata object.

put/metadata/v2/sensorRules/{sensorRuleId}

Request body

object required

Response

Successful

The metadata was successfully updated.

dataobject required

Metadata JSON object

idstring uuid required

Sensor rule ID

Example response

{
  "data": {
    "priority": "high"
  }
}