# delete

Send a DELETE request to the provided Rubrik API endpoint.

```python
def delete(self, api_version, api_endpoint, timeout=15, authentication=True, config=None, params=None):
```

## Arguments

| Name          | Type | Description                                                   | Choices          |
| ------------- | ---- | ------------------------------------------------------------- | ---------------- |
| api\_version  | str  | The version of the Rubrik CDM API to call.                    | v1, v2, internal |
| api\_endpoint | str  | The endpoint of the Rubrik CDM API to call (ex. /cluster/me). |                  |

## Keyword Arguments

| Name           | Type | Description                                                                                                                          | Choices | Default |
| -------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------ | ------- | ------- |
| params         | dict | An optional dict containing variables in a key:value format to send with `GET` & `DELETE` API calls . Mutually exclusive with config |         | None    |
| config         | dict | The specified data to send with the API call. Mutually exclusive with params                                                         |         | None    |
| timeout        | int  | The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.                         |         | 15      |
| authentication | bool | Flag that specifies whether or not to utilize authentication when making the API call.                                               |         | True    |

## Returns

| Type | Return Value                       |
| ---- | ---------------------------------- |
| dict | The response body of the API call. |

## Example

```python
import rubrik_cdm

rubrik = rubrik_cdm.Connect()

# Delete an SLA Domain from the Rubrik cluster
sla_id = "0589c4e5-eeec-4ece-9922-2c9ceef7bec8"

delete_sla = rubrik.delete('v1', '/sla_domain/{}'.format(sla_id))
```


---

# 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/devel-1/base-api-calls/delete.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.
