> For the complete documentation index, see [llms.txt](https://rubrik.gitbook.io/rubrik-sdk-for-python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rubrik.gitbook.io/rubrik-sdk-for-python/devel-1/base-api-calls/put.md).

# put

Send a PUT request to the provided Rubrik API endpoint.

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

## 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). |                  |
| config        | dict | The specified data to send with the API call.                 |                  |

## Keyword Arguments

| Name           | Type | Description                                                                                                  | Choices | Default |
| -------------- | ---- | ------------------------------------------------------------------------------------------------------------ | ------- | ------- |
| 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()


config = {}
config['loginBanner'] = "Login Banner for the Python SDK Cluster"


set_login_banner = rubrik.put('internal', '/cluster/me/login_banner', config)
```
