Delete cluster proxy configuration

The ServiceProviderAPI (Service Provider API) Api-Token scope is required to delete proxy configuration using Dynatrace API.

Parameter

The request doesn't provide any configurable parameters.

Response

Response codes

Code Description
200

Successful, previous configuration returned

404

Proxy was not configured

Response body

The Internet proxy object

Configuration of proxy server for Internet connection

Element Type Description
scheme string

Protocol which proxy server uses

server string

Address (either IP or Hostname) of proxy server

port integer

Port of proxy server

nonProxyHosts string[]

Definition of hosts for which proxy won't be used.

userOrPasswordDefined boolean

Indicates if user/password for proxy is configured

Example

In this example, you delete the proxy configuration from your Managed deployment (myManaged.cluster.com). In return, you receive a response of a previous proxy configuration.

Curl

curl -X DELETE "https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configuration" -H  "accept: application/json"

Request URL

https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configuration

Response body

{
      "scheme": "http",
      "server": "outbound-proxy.dynatrace.com",
      "port": 8080,
      "nonProxyHosts": [
        "https://mycompany.com/proxy/*",
        "*.internal.lab.company.com"
      ],
      "userOrPasswordDefined": true
}

Response code

200