Updated on 2025-09-08 GMT+08:00

Updating Tags of a Pipeline

Function

This API is used to update tags of a pipeline.

Calling Method

For details, see Calling APIs.

URI

POST /v5/{project_id}/api/pipeline-tag/update

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition:

Project ID. For details, see Obtaining a Project ID.

Constraints:

N/A

Value range:

The value consists of 32 characters, including digits and letters.

Default value:

N/A

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Tag name.

color

Yes

String

Tag color.

tagId

Yes

String

Tag ID.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

success

Boolean

Definition:

Whether the operation is successful.

Value range:

  • true: The operation is successful.

  • false: The operation fails.

Example Requests

POST http://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-tag/update

{
  "name" : "12",
  "color" : "#0b81f6",
  "tagId" : "6cb920b7932948a3ade7ec1d712494eb"
}

Example Responses

Status code: 200

Response body.

{
  "success" : true
}

Status Codes

Status Code

Description

200

Response body.

Error Codes

See Error Codes.