Enable acceleration service for a disabled domain. This API can be called for domains of the Web Acceleration, Website Acceleration - Static only, Download Acceleration, and Video Acceleration products.
Header |
Description |
Required |
Authorization |
Authorization string for the request |
Yes |
Host |
URI for the QUANTIL SDK (i.e., api.quantil.com) |
Yes |
Date |
The date and time of the request. |
Yes |
Accept |
Indicates the accepted format (i.e., application/xml) |
Yes |
This request does not include an XML document in the request body.
DELETE /api/disabledDomains/{domain-id} HTTP/1.1
Authorization: <authorization string>
Host: api.quantil.com
Date: <date>
Accept: application/xml
Here is the structure of a request using the curl utility.
curl -i --url https://api.quantil.com/api/disabledDomains/{domain-id}
-X DELETE
-u {user}: {password}
-H 'Date: Thu, 17 May 2012 19:37:58 GMT'
-H 'Accept: application / xml
curl -i -v --url 'https://api.quantil.com/api/disabledDomains/5440' -X DELETE -u test:LhhCYvWLoKOwD6gtzJ13YOrbV8M= -H 'Date: Wed, 06 Aug 2014 17:40:16 PDT' -H 'Accept: application/xml'
HTTP/1.1 200 OK
Date: <date>
Content-Type: application/xml; charset = utf-8
x-cnc-request-id: {id string auto generated by the QUANTIL server}
Element |
Description |
response |
container for additional information from the QUANTIL server. |
message |
a message returned by the QUANTIL server. If the request was successful, the text will be 'success'. |
HTTP/1.1 200 OK
Date: Thu, 07 Aug 2014 00:17:45 GMT
Accept-Ranges: bytes
Server: WS-web-server
x-cnc-request-id: 1117422
ContentType: application/xml;charset=UTF-8
Content-Type: application/xml;charset=UTF-8
Content-Length: 86
<?xml version="1.0" encoding="UTF-8"?>
<response><message>success</message></response>
Error |
Description |
HTTP status code |
DomainNotDisabled |
The domain you are trying to enable has not been enabled. |
409 |
NoSuchDomain |
The specified domain does not exist. |
404 |
PreconditionFailed |
The precondition given in One or More of the request-header fields Evaluated to false . |
412 |