Remove collector from asset
DELETE
/asset/<assetId>/collector/<collectorKey>
Description
Remove a collector from an asset. Success (204) is also returned when the collector was not attached to the asset.
Path parameters
Param | Description |
---|---|
assetId |
Asset Id. |
collectorKey |
Collector key. |
Query parameters
none
Body
none
Return codes
Error code | Reason |
---|---|
204 |
Success. |
401 |
Invalid or missing token. |
403 |
Insufficient permissions (required: API +ASSET_MANAGEMENT ). |
404 |
Asset or collector not found. |
Example
Curl request:
curl \
-X DELETE 'https://api.infrasonar.com/asset/123/collector/docker' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'