q:DeleteAssignment is a Write access-level action in the q service. Grants permission to delete a user or group assignment for an Amazon Q Developer Profile
ARNs that q:DeleteAssignment can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants q:DeleteAssignment.
Filters access by the tags associated with the Amazon Q resource
A minimal policy that allows q:DeleteAssignment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowQDeleteAssignment",
"Effect": "Allow",
"Action": "q:DeleteAssignment",
"Resource": "*"
}
]
}