Delete IAM RolesΒΆ

Run the following command to delete an IAM role in your account.

aws --endpoint-url https://iam.<base-domain-name> iam delete-role  --role-name readOnlyRole