Updated on 2025-03-25 GMT+08:00

Deleting a Parameter Group

Function

This API is used to delete a parameter group.

Calling Method

For details, see Calling APIs.

URI

DELETE /v5/{project_id}/api/pipeline/variable/group/delete

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Parameter description:

CodeArts project ID.

Constraints:

N/A.

Value Range:

The value contains 32 characters.

Default value:

N/A.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

id

Yes

String

ID of the parameter group to be deleted.

Request Parameters

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

body

Yes

Object

Request body.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

success

Boolean

Parameter description:

Whether the operation is successful.

Value range:

None.

Example Requests

DELETE https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline/variable/group/delete?id=66d40ba4e3da4505aaaf7e9de9860b6e

{ }

Example Responses

Status code: 200

Response body.

{
  "success" : true
}

Status Codes

Status Code

Description

200

Response body.

Error Codes

See Error Codes.