# delete\_account\_aws

Commits Delete AWS Account in Polaris, relies on local .aws

```python
def delete_account_aws(self, profiles=[], all=False, aws_access_key_id=None, aws_secret_access_key=None):
```

## Arguments

| Name                     | Type | Description                                            | Choices |
| ------------------------ | ---- | ------------------------------------------------------ | ------- |
| all                      | bool | If true import all available profiles (Default: False) |         |
| profiles                 | list | List of explicit profiles to add                       |         |
| aws\_access\_key\_id     | str  | AWS Access Key ID                                      |         |
| aws\_secret\_access\_key | str  | AWS Access Key Secret                                  |         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rubrik.gitbook.io/rubrik-sdk-for-python/beta/rubrik_polaris/accounts/delete_account_aws.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
