Copies a version.

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 CloneVersionOfConfigGroup

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

BaseVersionId String Yes testID

The ID of the version that you want to copy.

Response parameters

Parameter Type Example Description
RequestId String 15C66C7B-671A-4297-9187-2C4477247A74

The ID of the request.

VersionId String testID

The ID of the version.

Examples

Sample requests

http://cdn.aliyuncs.com/?Action=CloneVersionOfConfigGroup
&BaseVersionId=testID
&<Common request parameters>

Sample success responses

XML format

<CloneVersionOfConfigGroupResponse>
  <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>
  <VersionId>testID</VersionId>
</CloneVersionOfConfigGroupResponse>

JSON format

{
   "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
   "VersionId": "testID"
 }

Error codes

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