CmdID / aws / aws iot-data
aws iot-data delete-thing-shadow
Deletes the shadow for the specified thing. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a device's shadow document
The following delete-thing-shadow example deletes the entire shadow document for the device named MyRPi.
aws iot-data delete-thing-shadow "output.txt" --thing-name MyRPiIdentify--thing-nameThe name of the thing.This command produces no output. The output.txt file contains information that confirms the version and timestamp of the shadow document that you deleted.
{"version":2,"timestamp":1560270384}
For more information, see Using Shadows in the AWS IoT Developers Guide.
Options
--shadow-nameThe name of the shadow.--thing-nameThe name of the thing.