Remove label from asset
DELETE
/asset/<assetId>/label/<labelId>
Description
Remove a label from an asset. Success (204) is also returned when the label was not assigned to the asset.
Path parameters
Param | Description |
---|---|
assetId |
Asset Id. |
labelId |
Label Id. |
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 label not found. |
Example
Curl request:
curl \
-X DELETE 'https://api.infrasonar.com/asset/123/label/456' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'