aws iot detach-thing-principal
Detaches the specified principal from the specified thing. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--principalIf the principal is a certificate, this value must be ARN of the certificate.--thing-nameThe name of the thing.