Delete Service
This API is used to delete website acceleration service.
Request
Request-Line
DELETE /cdn/v1.0/service/{serviceId} HTTP/1.1
Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceId | Integer | Mandatory | Service ID. |
Response
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | InvalidCustomer.IdEmpty | Customer id can not be empty. |
| 400 | InvalidService.IdIncorrect | Service id is incorrect. |
| 404 | InvalidService.NotFound | Service can not be found. |
Examples
Delete Service
Request
DELETE /cdn/v1.0/services/228622 HTTP/1.1
Successful Response Body
HTTP/1.1 200