All Products
Search
Document Center

Alibaba Cloud DevOps:UpdateVersion - Update version

Last Updated:Jul 10, 2026

Updates a project version in Yunxiao Project Collaboration.

Endpoint and authorization information

Product

Resource

Required Permissions

Project Collaboration

Version

Read and write

Request syntax

Region edition

PUT https://{domain}/oapi/v1/projex/projects/{projectId}/versions/{id}

Request headers

Parameter

Type

Required

Description

Example value

x-yunxiao-token

string

Yes

Personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example value

projectId

string

path

Yes

Unique project identifier.

589c53d622cc8521793e08****

id

string

path

Yes

Unique version identifier.

bfbb5f44f3aaab11460cd1****

-

object

body

No

name

string

body

Yes

Version name.

operatorId

string

body

No

User ID of the operator. Ignored when a personal access token is used.

user-xxx

owners

array[string]

body

No

User IDs of owners.

publishDate

string

body

No

Release date.

2023-03-01

startDate

string

body

No

Start date.

2023-01-01

Request examples

Region edition

curl -X 'PUT' \
  'https://{domain}/oapi/v1/projex/projects/589c53d622cc8521793e08****/versions/bfbb5f44f3aaab11460cd1****' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484' \
  --data '
    {
        "name": "",
        "operatorId": "user-xxx",
        "owners": [
            
        ],
        "publishDate": "2023-03-01",
        "startDate": "2023-01-01"
    }'

Response parameters

None

Error codes

For API error codes, see Error Code Center.