Publishes the configurations of the staging environment to the production environment.

Note The maximum number of times that each user can call this operation per second is 30.

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 software development kits (SDKs).

Request parameters

Parameter Type Required Example Description
Action String Yes PublishStagingConfigToProduction

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

DomainName String Yes example.com

The accelerated domain name. You can specify only one domain name.

FunctionName String Yes aliauth

The name of the feature, For more information about FunctionName, see A list of features. You can specify only one function name.

Response parameters

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

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

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

JSON format

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

Error codes

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