跳到主要内容

Delete the origin configuration of a Domain

Delete the origin configuration of a streaming domain name, which affects the HTTP-FLV streams of the domain

Request

Request-Line

DELETE /lls/v1.0/domain/{domain}/origin

Request Parameters

Path Parameters

ParameterTypeRequiredDescription
domainStringMandatoryDelivery domain name.

Request Body

ParameterTypeRequiredDescription
originURLPrefixesArrayMandatoryArray of prefix of URL of origin address to delete. Every prefix has the following format: [http[s]://]hostname[:port][/path/prefix]. The bits in [] are optional. If the scheme (http/https) is explicitly specified then it is forced for all origin requests, otherwise (scheme is omitted) the protocol used by client is used to contact the origin.

Response

Response Body

ParameterTypeRequiredDescription
originURLPrefixesArrayMandatoryArray of prefix of URL of origin address. Every prefix has the following format: [http[s]://]hostname[:port][/path/prefix]. The bits in [] are optional. If the scheme (http/https) is explicitly specified then it is forced for all origin requests, otherwise (scheme is omitted) the protocol used by client is used to contact the origin.

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400LLS.Domain.NotFoundDomain name is not found.

Examples

Modify the origin configuration of a Domain with domain names

Request

DELETE /lls/v1.0/domain/ingest.example.com/origin HTTP/1.1
{
"originURLPrefixes": [
"23.138.88.3:13889"
]
}

Successful Response Body

{
"originURLPrefixes": [
"first.customer1.com",
"http://23.138.88.3:13889"
]
}

Best Practices

Rate Limiting

Rate Limits

Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:

  • 100 requests per minute
  • 1000 requests per hour