Publishes the configurations of an accelerated domain name from the canary release environment to the production environment.

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 PublishLiveStagingConfigToProduction

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

DomainName String Yes example.com

The accelerated domain name.

FunctionName String Yes aliauth

The name of the feature. For more information about how to obtain the feature name, see DescribeLiveDomainStagingConfig.

RegionId String No cn-shanghai

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=PublishLiveStagingConfigToProduction
&DomainName=example.com
&FunctionName=aliauth
&<Common request parameters>

Sample success responses

XML format

<PublishLiveStagingConfigToProductionResponse>
  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</PublishLiveStagingConfigToProductionResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

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