---
updatedAt: 2026-05-26T22:41:46.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edge-dns/llms.txt
---

# Delete a proxy

Delete the proxy as an asynchronous operation.  Your proxy will continue to show with a `DELETED` status and continue to count against your maximum proxy cap until permanently removed.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Edge DNS API",
    "url": "https://techdocs.akamai.com/edge-dns/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Shield NS53",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "paths": {
    "/proxies/{proxyId}": {
      "delete": {
        "description": "Delete the proxy as an asynchronous operation.  Your proxy will continue to show with a `DELETED` status and continue to count against your maximum proxy cap until permanently removed.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Edge DNS API",
          "url": "https://techdocs.akamai.com/edge-dns/reference/delete-proxy"
        },
        "operationId": "delete-proxy",
        "parameters": [
          {
            "description": "The proxy ID you're working with.",
            "in": "path",
            "name": "proxyId",
            "required": true,
            "schema": {
              "example": "e585a640-0849-4b87-8dd9-91afdaf8851c",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/proxy-id-path.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "Successful delete response."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Invalid value for parameter 'sortBy': 'foo'. Valid values are: name, type.",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/illegalValue/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 400,
                  "title": "Illegal Value",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/illegalValue"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Bad Request. Proxy deletion is not enabled for this API."
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "not logged in",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/notLoggedIn/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 401,
                  "title": "Not Logged In",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/notLoggedIn"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Unauthorized. Your credentials are missing or invalid."
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Access denied for contract C-0N7RAC7.",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/forbidden/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 403,
                  "title": "Forbidden",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/forbidden"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Forbidden. You don't have permission to delete this proxy."
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Zone not found: example.com.",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/notFound/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 404,
                  "title": "Not Found",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/notFound"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Not Found. The specified proxy doesn't exist or isn't accessible."
          }
        },
        "summary": "Delete a proxy",
        "tags": [
          "DNS proxies"
        ]
      },
      "x-akamai": {
        "file-path": "paths/proxy.yaml",
        "path-info": "/proxies/{proxyId}"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/config-dns/v2"
    }
  ],
  "tags": [
    {
      "description": "Groups operations to manage proxies.",
      "name": "DNS proxies"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "06-dns-shield.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [Create a proxy](https://techdocs.akamai.com/edge-dns/reference/post-proxy.md)
* [List proxies](https://techdocs.akamai.com/edge-dns/reference/get-proxy.md)
* [List valid proxy health check record set types](https://techdocs.akamai.com/edge-dns/reference/get-proxy-healthcheck-recordset-types.md)
* [Get a proxy](https://techdocs.akamai.com/edge-dns/reference/get-proxy-id.md)
* [Update a proxy](https://techdocs.akamai.com/edge-dns/reference/put-proxy.md)