Skip to content

Disable check on asset

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

Description

Disable a check on an asset. Success (204) is also returned when the check was already disabled 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 DELETE 'https://api.infrasonar.com/asset/123/collector/wmi/check/updates' \
    -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'