Skip to main content
Version: Next

Add asset links to a single alarm

PUT 

/alarm/assets

Adds links between assets and one existing alarm.

The request body is a list for backward compatibility, but this operation now has single-alarm semantics: every item must contain the same id.realm and the same id.alarmId. The alarm must exist in that realm, every asset must exist in the same realm, and the authenticated user must have access to that realm.

Existing links are left unchanged; duplicate links in the request or links that already exist are ignored. This operation does not remove existing links from the alarm.

Request

Responses

Asset links were added, or already existed