Skip to main content

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

ParameterTypeRequiredDescription
serviceIdIntegerMandatoryService ID.

Response

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400InvalidCustomer.IdEmptyCustomer id can not be empty.
400InvalidService.IdIncorrectService id is incorrect.
404InvalidService.NotFoundService can not be found.

Examples

Delete Service

Request

DELETE /cdn/v1.0/services/228622 HTTP/1.1

Successful Response Body

HTTP/1.1 200