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

Switching Group Sequence

Function

This API is used to switch group sequence.

Calling Method

For details, see Calling APIs.

URI

POST /v5/{project_id}/api/pipeline-group/swap

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

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

groupId1

Yes

String

Group 1

groupId2

Yes

String

Group 2

Request Parameters

None

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 https://{endpoint}/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline-group/swap?groupId1=0743e6fd00a946949a0a3e212d2181d1&groupId2=5b3f4b99c6064162be4ab959823e7965

Example Responses

Status code: 200

Response body.

{
  "success" : true
}

Status Codes

Status Code

Description

200

Response body.

Error Codes

See Error Codes.