> 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/beta/rubrik_cdm/cluster/update_proxy.md).

# update\_proxy

Update the proxy configuration on the Rubrik cluster.

```python
def update_proxy(self, host, protocol, port, username=None, password=None, timeout=15):
```

## Arguments

| Name     | Type | Description                                          | Choices |
| -------- | ---- | ---------------------------------------------------- | ------- |
| host     | str  | The IP address or FQDN of the proxy you wish to add. |         |
| protocol | str  | The protocol of the proxy you wish to add.           |         |
| port     | int  | The port of the proxy you wish to add.               |         |

## Keyword Arguments

| Name     | Type | Description                                                                                                  | Choices | Default |
| -------- | ---- | ------------------------------------------------------------------------------------------------------------ | ------- | ------- |
| username | str  | The username used for authentication.                                                                        |         | None    |
| password | str  | The password used for authentication.                                                                        |         | None    |
| timeout  | int  | The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error. |         | 15      |

## Returns

| Type | Return Value                                                             |
| ---- | ------------------------------------------------------------------------ |
| dict | The full API response for `PATCH /internal/node_management/proxy_config` |

## Example

```python
import rubrik_cdm

rubrik = rubrik_cdm.Connect()

host = "proxy.python.demo"
protocol = "HTTPS"
port = 443

update_proxy = rubrik.update_proxy(host, protocol, port)
```
