EdgeNext
Documentation home

EdgeNext Documentation

Product guides, setup instructions, and technical references.

CDN

Delete Domains

API Endpoint

Request URL: domain (DELETE)

API request domain: cdn.api.edgenext.com
API version: v2

Description

Deletes a domain.

Input Parameters

The following table lists only the API-specific request parameters. You must also include the common request parameters when making an actual API call. For details, see the Common Request Parameters page.

Request Parameters (POST)

Parameters can be passed in formats such as form-data, x-www-form-urlencoded, and JSON.

Parameter Data Type Required Description
domains string Yes Domain names. Separate multiple domains with commas (,). You can provide either domain IDs or domain names, for example: a.com,b.com and 112,332. You can specify up to 10 domains per request.

Sample Request

curl -X DELETE "https://cdn.api.edgenext.com/v2/domain?"

Sample Request

curl -X DELETE "https://cdn.api.edgenext.com/v2/domain?token=xxx&domains=a.com,b.com"

Sample Response

JSON format

{
    "code": 0,// 0 indicates that the operation was successful.
    "message":"", // This description is returned when code is not 0.
    "data": [
        {
            "id": "4422945",
            "domain": "a.com",
            "status": "deleted",
            "delete_time": "2018-03-23 17:46:18"
        },
        ...
    ]
}

Response Headers

HTTP/1.0 200 OK
Api-Id:                100757115
Content-Type:          application/json; charset=utf-8
X-Ratelimit-Grad:      minute
X-Ratelimit-Limit:     300
X-Ratelimit-Remaining: 300
X-Retry-After:         42

Need help? Contact our support team at support@edgenext.com.

Back to documentation home