iot:DetachPrincipalPolicy is a Permissions management access-level action in the iot service. Grants permission to remove the specified policy from the specified certificate
ARNs that iot:DetachPrincipalPolicy can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows iot:DetachPrincipalPolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotDetachPrincipalPolicy",
"Effect": "Allow",
"Action": "iot:DetachPrincipalPolicy",
"Resource": "*"
}
]
}