Delete Service
This API is used to delete an existing 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 | The unique identifier of the service to be deleted. |
Response
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | InvalidCustomer.IdEmpty | Customer ID cannot be empty. |
| 400 | InvalidService.IdIncorrect | Service ID is incorrect. |
| 404 | InvalidService.NotFound | Service cannot be found. |
Examples
Delete Service
Request
DELETE /cdn/v1.0/service/228622 HTTP/1.1
Successful Response Body
HTTP/1.1 200