All Products
Search
Document Center

Service Catalog:UpdateProductVersion

Last Updated:Mar 03, 2024

Updates the information about a product version.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProductVersionIdstringYes

The ID of the product version.

pv-bp15e79d26****
ProductVersionNamestringYes

The name of the product version.

The value must be 1 to 128 characters in length.

1.0
DescriptionstringNo

The description of the product version.

The value must be 1 to 128 characters in length.

The description of the product version.
GuidancestringNo

The recommendation information. Valid values:

  • Default: No recommendation information is provided. This is the default value.
  • Recommended: the recommended version.
  • Latest: the latest version.
  • Deprecated: the version that is about to be discontinued.
Default
ActivebooleanNo

Specifies whether to enable the product version. Valid values:

  • true: enables the product version. This is the default value.
  • false: disables the product version.
true

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F81BF
ProductVersionIdstring

The ID of the product version.

pv-bp15e79d26****

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
  "ProductVersionId": "pv-bp15e79d26****"
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

For a list of error codes, visit the Service error codes.