This API call deletes a cluster proxy configuration.
To execute this request, you need the Service Provider API (ServiceProviderAPI) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
/api/v1.0/onpremise/proxy/configuration
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | Internet | Successful, previous configuration returned |
| 404 | - | Proxy was not configured |
InternetProxy objectConfiguration of proxy server for Internet connection
| Element | Type | Description |
|---|---|---|
| nonProxyHosts | string[] | Definition of hosts for which proxy won't be used. |
| port | integer | Port of proxy server |
| scheme | string | Protocol which proxy server uses |
| server | string | Address (either IP or Hostname) of proxy server |
| userOrPasswordDefined | boolean | Indicates if user/password for proxy is configured |
{"nonProxyHosts": ["string"],"port": 1,"scheme": "string","server": "string","userOrPasswordDefined": true}
In this example, you delete the proxy configuration from your Dynatrace Managed deployment (myManaged.cluster.com). In return, you receive a response of a previous proxy configuration.
curl -X DELETE "https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configuration" -H "accept: application/json"
https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configuration
{"scheme": "http","server": "outbound-proxy.dynatrace.com","port": 8080,"nonProxyHosts": ["https://mycompany.com/proxy/*","*.internal.lab.company.com"],"userOrPasswordDefined": true}
200