AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/iam_example_iam_DeleteAccountAlias_section.md

Summary

Added PowerShell V5 example for removing account aliases

Security assessment

Focuses on account management rather than security controls. No security implications beyond changing login URLs.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_DeleteAccountAlias_section.md b/code-library/latest/ug/iam_example_iam_DeleteAccountAlias_section.md
index c9f0b3c27..7b2dec8f2 100644
--- a//code-library/latest/ug/iam_example_iam_DeleteAccountAlias_section.md
+++ b//code-library/latest/ug/iam_example_iam_DeleteAccountAlias_section.md
@@ -269,0 +270,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example removes the account alias from your AWS account. The user sign in page with the alias at https://mycompanyaws.signin.aws.amazon.com/console no longer works. You must instead use the original URL with your AWS account ID number at https:// <accountidnumber>.signin.aws.amazon.com/console.**
+    
+    
+    Remove-IAMAccountAlias -AccountAlias mycompanyaws
+    
+
+  * For API details, see [DeleteAccountAlias](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+