Disables a domain name. After the domain name is disabled, the value of the DomainStatus parameter is changed to offline.

Note After the domain name is disabled, the information about the domain name is retained. ApsaraVideo Live automatically reroutes all the requests that are destined for the domain name to the origin.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes StopLiveDomain

The operation that you want to perform. Set the value to StopLiveDomain.

DomainName String Yes live.yourdomain.com

The streaming domain and ingest domain.

Response parameters

Parameter Type Example Description
RequestId String 324AEFFF-308C-4DA7-8CD3-01B277B98F28

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/? Action=StopLiveDomain
&DomainName=live.yourdomain.com
&<Common request parameters>

Sample success responses

XML format

<StopLiveDomainResponse>
      <RequestId>324AEFFF-308C-4DA7-8CD3-01B277B98F28</RequestId>
</StopLiveDomainResponse>

JSON format

{
    "RequestId":"324AEFFF-308C-4DA7-8CD3-01B277B98F28"
}

Error codes

For a list of error codes, visit the API Error Center.