All Products
Search
Document Center

Alibaba Cloud DevOps:DeleteVariableGroup - Delete variable group

Last Updated:Jul 10, 2026

Delete a variable group using OpenAPI.

Endpoints and authorization information

Product

Resource

Required permissions

Pipeline

Variable group

Read/write

Request syntax

Region edition

DELETE https://{domain}/oapi/v1/flow/variableGroups/{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

id

integer

path

Yes

Variable group ID.

123

Request examples

Region edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/flow/variableGroups/123' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example value

-

boolean

Whether the operation succeeded.

true

Response example

true

Error codes

For API error codes, see the Error Code Center.