CmdID / aws / aws iotsitewise
aws iotsitewise delete-asset
Deletes an asset. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete an asset
The following delete-asset example deletes a wind turbine asset.
aws iotsitewise delete-asset --asset-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--asset-idThe ID of the asset to delete.Its output
{
"assetStatus": {
"state": "DELETING"
}
}For more information, see Deleting assets in the AWS IoT SiteWise User Guide.
Options
--asset-idThe ID of the asset to delete.--client-tokenA unique case-sensitive identifier that you can provide to ensure the idempotency of the request.