---
updatedAt: 2026-03-01T18:31:02.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edge-hostnames/llms.txt
---

# Delete an edge hostname

Delete a specific edge hostname. You need to have an Admin or Technical role in order to delete an edge hostname. You can delete any hostname that's not currently assigned to an active Property Manager configuration.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Edge Hostnames API",
    "url": "https://techdocs.akamai.com/edge-hostnames/reference"
  },
  "info": {
    "title": "Edge Hostnames",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/dns-zones/{dnsZone}/edge-hostnames/{recordName}": {
      "delete": {
        "description": "Delete a specific edge hostname. You need to have an Admin or Technical role in order to delete an edge hostname. You can delete any hostname that's not currently assigned to an active Property Manager configuration.\n",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Edge Hostnames API",
          "url": "https://techdocs.akamai.com/edge-hostnames/reference/delete-edgehostname"
        },
        "operationId": "delete-edgehostname",
        "parameters": [
          {
            "description": "Filter by `comments` value.\n",
            "in": "query",
            "name": "comments",
            "required": false,
            "schema": {
              "example": "Created for site",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/comments-query.yaml"
            }
          },
          {
            "description": "Email address that should receive updates on the change request. To specify more than one email address use a single comma-separated set of addresses, or repeat the parameter with each address.\n",
            "in": "query",
            "name": "statusUpdateEmail",
            "required": false,
            "schema": {
              "example": "someperson@somedomain.com",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/statusUpdateEmail-query.yaml"
            }
          },
          {
            "description": "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).\n",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "example": {
                  "action": "DELETE",
                  "changeId": 1,
                  "comments": "Delete for example.com",
                  "edgeHostnames": [
                    {
                      "comments": "Edited for Super Bowl",
                      "dnsZone": "edgekey.net",
                      "edgeHostnameId": 1,
                      "ipVersionBehavior": "IPV4",
                      "map": "e;b.akamaiedge.net",
                      "recordName": "www.example.com",
                      "securityType": "ENHANCED-TLS",
                      "slotNumber": 11838,
                      "ttl": 21600,
                      "useDefaultMap": false,
                      "useDefaultTtl": false
                    }
                  ],
                  "status": "SUCCEEDED",
                  "statusMessage": "File successfully deployed to Akamai's network",
                  "statusUpdateDate": "2018-10-17T20:21:17.0Z",
                  "statusUpdateEmail": "nobody@akamai.com",
                  "submitDate": "2018-10-17T20:21:12.0Z",
                  "submitter": "nobody",
                  "submitterEmail": "nobody@akamai.com"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Shows the status of the change request: the type of change to each edge hostname and if the change has occurred.\n",
                  "properties": {
                    "action": {
                      "description": "The action requested that is represented by the change request. Can be `CREATE`, `EDIT`, or `DELETE`.\n",
                      "enum": [
                        "CREATE",
                        "EDIT",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "changeId": {
                      "description": "The unique identifier for a specific change request.\n",
                      "type": "integer"
                    },
                    "comments": {
                      "description": "The comment added when the change request was created.\n",
                      "type": "string"
                    },
                    "edgeHostnames": {
                      "description": "All edge hostnames to which this change request applies.\n",
                      "items": {
                        "additionalProperties": false,
                        "description": "Specifies a set of available hostnames to which a property version may be applied.\n",
                        "properties": {
                          "chinaCdn": {
                            "additionalProperties": false,
                            "description": "Indicates whether the edge hostname can serve traffic in China. See [China Application and API Traffic Solutions](https://techdocs.akamai.com/china/docs/welcome) to learn more about content delivery in mainland China.\n",
                            "properties": {
                              "chinaPartner": {
                                "description": "The name of the China partner.\n",
                                "type": "string"
                              },
                              "customChinaCdnMap": {
                                "description": "Shows the custom China CDN map you are using, if applicable. If a `chinaPartner` is specified, this value is required and is the hostname configured with the China partner.\n",
                                "type": "string"
                              },
                              "gtmDomain": {
                                "description": "The Global Traffic Management (GTM) domain that serves traffic in China.\n",
                                "type": "string"
                              },
                              "isChinaCdn": {
                                "description": "Indicates whether the edge hostname can serve traffic in China.\n",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "isChinaCdn"
                            ],
                            "type": "object",
                            "x-akamai": {
                              "file-path": "schemas/edge-hostname-china-cdn.yaml"
                            }
                          },
                          "comments": {
                            "description": "The comments provided upon the creation of the edge hostname (via Property Manager or Property Manager API).\n",
                            "type": "string"
                          },
                          "customTarget": {
                            "description": "The custom targets of the edge hostname. A custom target is a user-specified target for the edge hostname.\n",
                            "type": "string"
                          },
                          "deliveryPolicy": {
                            "additionalProperties": false,
                            "description": "Specifies the delivery policy that controls the edge traffic for your application. Akamai Professional Services can set it on your behalf. For more information, see [Delivery Policy Manager](https://techdocs.akamai.com/delivery-policy-mgr/docs/welcome).\n",
                            "properties": {
                              "policyAttributes": {
                                "description": "Specifies the delivery policy details.\n",
                                "items": {
                                  "additionalProperties": false,
                                  "description": "Specifies the delivery policy details.\n",
                                  "properties": {
                                    "attributeType": {
                                      "description": "The type of policy attribute. For edge hostnames, the only supported value is `GEO`, which keeps your edge traffic within a specified geographical region.\n",
                                      "enum": [
                                        "GEO"
                                      ],
                                      "type": "string"
                                    },
                                    "code": {
                                      "description": "The code of the geographical region you want to keep your edge traffic within. The currently available regions are `EU_CH_GB`, `IN` and `US`.\n",
                                      "enum": [
                                        "EU_CH_GB",
                                        "IN",
                                        "US"
                                      ],
                                      "type": "string"
                                    },
                                    "name": {
                                      "description": "The name of the policy attribute. This specifies geographical regions you want to keep your edge traffic within. The currently available regions are `European Union, Switzerland and Great Britain`, `India` and `USA`.\n",
                                      "enum": [
                                        "European Union, Switzerland and Great Britain",
                                        "India",
                                        "USA"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "code"
                                  ],
                                  "type": "object",
                                  "x-akamai": {
                                    "file-path": "schemas/edge-hostname-delivery-policy-attribute.yaml"
                                  }
                                },
                                "minItems": 1,
                                "type": "array"
                              },
                              "policyType": {
                                "description": "Specifies the type of delivery policy assigned to your edge hostname. Currently, the only supported value is `GEO_OPT_IN`, which keeps your edge traffic within a specified geographical region.\n",
                                "enum": [
                                  "GEO_OPT_IN"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "policyType",
                              "policyAttributes"
                            ],
                            "type": "object",
                            "x-akamai": {
                              "file-path": "schemas/edge-hostname-delivery-policy.yaml"
                            }
                          },
                          "dnsSerial": {
                            "description": "The serial number for the edge hostname.\n",
                            "type": "string"
                          },
                          "dnsZone": {
                            "description": "The Akamai-specific portion of the edge hostname, for example the `edgesuite.net` portion of `www.example.com.edgesuite.net`.\n",
                            "type": "string"
                          },
                          "edgeHostnameId": {
                            "description": "The edge hostname's unique identifier, which you can assign to a property.\n",
                            "type": "integer"
                          },
                          "ipVersionBehavior": {
                            "description": "Which version of the IP protocol to use: `IPV4` for version 4 only, or `IPV6_IPV4_DUALSTACK` for both 4 and 6.\n",
                            "enum": [
                              "IPV4",
                              "IPV6_IPV4_DUALSTACK"
                            ],
                            "type": "string"
                          },
                          "isEdgeIPBindingEnabled": {
                            "description": "Indicates whether Edge IP Binding is enabled. Edge IP Binding helps deliver traffic from fixed IP addresses in a scalable manner.\n",
                            "type": "boolean"
                          },
                          "map": {
                            "description": "The correlation between your edge hostname and the IP address that the hostname resolves to.\n",
                            "type": "string"
                          },
                          "mapAlias": {
                            "description": "An alternate name for a map. Can be used to establish a different time to live (TTL) for the same map, for example.\n",
                            "type": "string"
                          },
                          "productId": {
                            "description": "A unique identifier for the product associated with the edge hostname.\n",
                            "type": "string"
                          },
                          "recordName": {
                            "description": "The origin domain portion of the edge hostname, for example the `www.example.com` portion of `www.example.com.edgesuite.net`.\n",
                            "type": "string"
                          },
                          "securityType": {
                            "description": "Indicates whether `STANDARD-TLS` or `ENHANCED-TLS` security applies to this edge hostname.\n",
                            "enum": [
                              "STANDARD-TLS",
                              "ENHANCED-TLS"
                            ],
                            "type": "string"
                          },
                          "serialNumber": {
                            "description": "The serial number for the standard-tls hostname.\n",
                            "type": "integer"
                          },
                          "slotNumber": {
                            "description": "Sets the slot number for the enhanced-tls hostnames. Only applies when `securityType` is set to `ENHANCED-TLS`.\n",
                            "type": "integer"
                          },
                          "ttl": {
                            "description": "The time to live, or number of seconds to keep an edge hostname assigned to a map or target. This determines how long it takes for changes to the edge hostname to take effect.\n",
                            "type": "integer"
                          },
                          "useCases": {
                            "description": "Specifies a set of Akamai-provided preset use case scenarios to help optimize different types of traffic. You can assign use cases when creating a new edge hostname in the Property Manager API (PAPI). For details, see [Assign a use case to an edge hostname](https://techdocs.akamai.com/property-mgr/reference/post-edgehostnames).\n",
                            "items": {
                              "additionalProperties": false,
                              "description": "Specifies a set of Akamai-provided preset use case scenarios to help optimize different types of traffic. You can assign use cases when creating a new edge hostname in the Property Manager API (PAPI). For details, see [Assign a use case to an edge hostname](https://developer.akamai.com/api/core_features/property_manager/v1.html#assignausecase).\n",
                              "properties": {
                                "option": {
                                  "description": "Specifies one of the use case's available options that help specify the type of traffic.\n",
                                  "type": "string"
                                },
                                "type": {
                                  "description": "Identifies the Akamai network over which traffic deploys. The only value currently available is the `GLOBAL` network.\n",
                                  "enum": [
                                    "GLOBAL"
                                  ],
                                  "type": "string"
                                },
                                "useCase": {
                                  "description": "A unique identifier for each use case.\n",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "useCase",
                                "option"
                              ],
                              "type": "object",
                              "x-akamai": {
                                "file-path": "schemas/edge-hostname-usecase.yaml"
                              }
                            },
                            "maxItems": 2,
                            "minItems": 1,
                            "type": "array"
                          },
                          "useDefaultMap": {
                            "description": "Indicates if the product's default map is being used or not.\n",
                            "type": "boolean"
                          },
                          "useDefaultTtl": {
                            "description": "Indicates if the product's default TTL (time to live) settings are being used for the edge hostname or if a custom one has been set.\n",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "recordName",
                          "dnsZone",
                          "securityType",
                          "productId",
                          "useDefaultTtl",
                          "useDefaultMap"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/edge-hostname.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "status": {
                      "description": "The status of the change request. Can be `PENDING`, `SUCCEEDED`, `FAILED`, or `IGNORED`.\n",
                      "enum": [
                        "FAILED",
                        "IGNORED",
                        "PENDING",
                        "SUCCEEDED"
                      ],
                      "type": "string"
                    },
                    "statusMessage": {
                      "description": "The API generates the status message to reflect the nature of the change request.\n",
                      "type": "string"
                    },
                    "statusUpdateDate": {
                      "description": "The ISO 8601 timestamp indicating the time of the most recent status update.\n",
                      "format": "date-time",
                      "type": "string"
                    },
                    "statusUpdateEmail": {
                      "description": "The email that provides the status update.\n",
                      "type": "string"
                    },
                    "submitDate": {
                      "description": "The ISO 8601 timestamp indicating the time of the submitted change request.\n",
                      "format": "date-time",
                      "type": "string"
                    },
                    "submitter": {
                      "description": "The username of the person who submitted the change request.\n",
                      "type": "string"
                    },
                    "submitterEmail": {
                      "description": "The email address for the change request's `submitter`. This is the email address that the `statusUpdateEmail` is sent to.\n",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/delete-dns-zones-dnszone-edge-hostnames-recordname-response.yaml"
                  }
                }
              }
            },
            "description": "Shows the status of the change request which signifies what type of change has been made to an edge hostname and if that change has happened.\n",
            "headers": {
              "Location": {
                "description": "Relative location of the change request resource to poll for status.\n",
                "schema": {
                  "example": "/hapi/v1/change-requests/62750978",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "detail": "one or more active properties including hosting-production_1 are using edge hostname example.gs1uk.org.abc.hosting.netsuite.com.edgekey.net; remove edge hostname from properties to delete edge hostname",
                  "errors": [],
                  "extensionFields": [
                    {
                      "edgeHostname": "example.gs1uk.org.abc.hosting.netsuite.com.edgekey.net",
                      "propertyNames": "hosting-production_1"
                    }
                  ],
                  "instance": "/hapi/error-instances/1524445b-7a83-4af1-a5af-b229016bd90e",
                  "method": "DELETE",
                  "requestInstance": "http://origin.pulsar.akamai.com/hapi/open/v1/dns-zones/edgekey.net/edge-hostnames/example.gs1uk.org.abc.hosting.netsuite.com.edgekey.net#0bdd76f0",
                  "requestTime": "2022-11-16T18:01:19.847213Z",
                  "status": 0,
                  "title": "Edge Hostname In Use",
                  "type": "PROPERTY_USING_EDGEHOSTNAME"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Represents error data in the [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problem Details format.\n",
                  "properties": {
                    "detail": {
                      "description": "Diagnostic instructions to locate and fix the problem.\n",
                      "type": "string"
                    },
                    "errors": {
                      "description": "For errors with more than one detected problem, this represents each separately as a nested Problem Details object.\n",
                      "items": {
                        "description": "A nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/problem-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "extensionFields": {
                      "description": "This helps locate problems with specific request fields.\n",
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "key": {
                            "description": "The name of the request field.\n",
                            "type": "string"
                          },
                          "value": {
                            "description": "The provided value that triggered the error.\n",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "instance": {
                      "description": "Unique value generated with each API call.\n",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code under which this error falls.\n",
                      "type": "number"
                    },
                    "title": {
                      "description": "A summary of each error case.\n",
                      "type": "string"
                    },
                    "type": {
                      "description": "Identifies each error case.\n",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Problem with the request.\n"
          }
        },
        "summary": "Delete an edge hostname",
        "tags": [
          "Edge hostnames"
        ]
      },
      "parameters": [
        {
          "description": "Record name of the edge hostname.\n",
          "in": "path",
          "name": "recordName",
          "required": true,
          "schema": {
            "example": "www.example.com",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/recordName-path.yaml"
          }
        },
        {
          "description": "DNS zone of the edge hostname.\n",
          "in": "path",
          "name": "dnsZone",
          "required": true,
          "schema": {
            "example": "edgesuite.net",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/dnsZone-path.yaml"
          }
        }
      ]
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/hapi/v1"
    }
  ],
  "tags": [
    {
      "description": "Manage your edge hostnames.",
      "name": "Edge hostnames"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "hapi-openV1.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Get an edge hostname by DNS zone and record name](https://techdocs.akamai.com/edge-hostnames/reference/get-edgehostname.md)
* [Patch an edge hostname](https://techdocs.akamai.com/edge-hostnames/reference/patch-edgehostnames.md)
* [List edge hostnames](https://techdocs.akamai.com/edge-hostnames/reference/get-edgehostnames.md)
* [Get an edge hostname](https://techdocs.akamai.com/edge-hostnames/reference/get-edgehostnameid.md)