# How to Delete an IAM Role

![Delete IAM Role](https://cdn.hashnode.com/res/hashnode/image/upload/v1728375887616/7005d647-597b-4875-a5d0-c2aaf0de4706.png?w=1600\&h=840\&fit=crop\&crop=entropy\&auto=compress,format\&format=webp)

### Steps to Delete an IAM Role

[![Abishek Kafle's photo](https://cdn.hashnode.com/res/hashnode/image/upload/v1726213286603/488379c0-3bf8-45ec-afb8-db5ac8509d5c.jpeg?w=200\&h=200\&fit=crop\&crop=faces\&auto=compress,format\&format=webp)](https://hashnode.com/@abisec)

[Abishek Kafle](https://hashnode.com/@abisec)

·[Oct 8, 2024](https://abisec.gitbook.io/devsecops/aws/broken-reference)·

1 min read

#### Tasks <a href="#heading-tasks" id="heading-tasks"></a>

* Delete the IAM role named `iamrole_anita`.

#### Steps <a href="#heading-steps" id="heading-steps"></a>

1. IAM → Roles
2.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728376128700/ef66e757-036b-45b5-8c20-0d738c0ccd11.png?auto=compress,format\&format=webp)
```

```
Delete now
```

3\.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728376161907/77d2b5ca-73b9-43c8-932a-a447aabba191.png?auto=compress,format\&format=webp)

Role deleted iamrole\_anita.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728376189113/269a818e-d552-427a-a418-ec7110d314d9.png?auto=compress,format\&format=webp)

\#aws #cloudcomputing #happylearning
```

AWSCloudCloud ComputingDevopsAmazon Web Services

Share this
