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