Delete cluster proxy configuration
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
This API call deletes a cluster proxy configuration.
Authentication
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.
Endpoint
/api/v1.0/onpremise/proxy/configuration
Parameter
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | InternetProxy | Successful, previous configuration returned |
404 | - | Proxy was not configured |
Response body objects
The InternetProxy
object
Configuration 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 |
Response body JSON model
1{2 "nonProxyHosts": [3 "string"4 ],5 "port": 1,6 "scheme": "string",7 "server": "string",8 "userOrPasswordDefined": true9}
Example
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
1curl -X DELETE "https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configuration" -H "accept: application/json"
Request URL
1https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configuration
Response body
1{2 "scheme": "http",3 "server": "outbound-proxy.dynatrace.com",4 "port": 8080,5 "nonProxyHosts": [6 "https://mycompany.com/proxy/*",7 "*.internal.lab.company.com"8 ],9 "userOrPasswordDefined": true10}
Response code
200