AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-07-01 · Documentation low

File: cli/latest/reference/iam/delete-policy.md

Summary

Updated AWS CLI version reference from 2.27.45 to 2.27.46 and added hyperlinks to DetachUserPolicy, DetachGroupPolicy, DetachRolePolicy, ListEntitiesForPolicy, DeletePolicyVersion, and ListPolicyVersions API references

Security assessment

Changes consist of version updates and enhanced documentation links. No evidence of security issue remediation or new security documentation.

Diff

diff --git a/cli/latest/reference/iam/delete-policy.md b/cli/latest/reference/iam/delete-policy.md
index 806763dd6..401c6e5d5 100644
--- a//cli/latest/reference/iam/delete-policy.md
+++ b//cli/latest/reference/iam/delete-policy.md
@@ -15 +15 @@
-  * [AWS CLI 2.27.45 Command Reference](../../index.html) »
+  * [AWS CLI 2.27.46 Command Reference](../../index.html) »
@@ -64,2 +64,2 @@ Before you can delete a managed policy, you must first detach the policy from al
-  * Detach the policy from all users, groups, and roles that the policy is attached to, using DetachUserPolicy , DetachGroupPolicy , or DetachRolePolicy . To list all the users, groups, and roles that a policy is attached to, use ListEntitiesForPolicy .
-  * Delete all versions of the policy using DeletePolicyVersion . To list the policy’s versions, use ListPolicyVersions . You cannot use DeletePolicyVersion to delete the version that is marked as the default version. You delete the policy’s default version in the next step of the process.
+  * Detach the policy from all users, groups, and roles that the policy is attached to, using [DetachUserPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachUserPolicy.html) , [DetachGroupPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachGroupPolicy.html) , or [DetachRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachRolePolicy.html) . To list all the users, groups, and roles that a policy is attached to, use [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) .
+  * Delete all versions of the policy using [DeletePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeletePolicyVersion.html) . To list the policy’s versions, use [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html) . You cannot use [DeletePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeletePolicyVersion.html) to delete the version that is marked as the default version. You delete the policy’s default version in the next step of the process.
@@ -241 +241 @@ None
-  * [AWS CLI 2.27.45 Command Reference](../../index.html) »
+  * [AWS CLI 2.27.46 Command Reference](../../index.html) »