Skip to content

Enable check on asset

PUT /asset/<assetId>/collector/<collectorKey>/check/<checkKey>

Description

Enable a check on an asset. Success (204) is also returned when the check was already enabled on the asset.

Path parameters

Param Description
assetId Asset Id.
collectorKey Collector key.
checkKey Check key.

Query parameters

none

Body

none

Return codes

Error code Reason
204 Success.
401 Invalid or missing token.
403 Insufficient permissions (required: API+CHECK_MANAGEMENT).
404 Asset, collector or check not found.
409 Both the asset and check exist, but the check does not exist on the asset.

Example

Curl request:

curl \
    -X PUT 'https://api.infrasonar.com/asset/123/collector/wmi/check/updates' \
    -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'