DeleteFlowTagGroup - Delete a tag group

Updated at:

Deletes a tag group.

Applicable editions

Central edition, Region edition

Endpoint and authorization information

  • Obtain an endpoint: Replace {domain} in the request syntax.
  • Obtain a personal access token.
  • Obtain the organizationId: Required for the Central edition only. You can obtain the organization ID from the Basic Information page in the Organization Management console.

Product

Resource

Required permission

Pipeline

Tag

Read/Write

Request syntax

Central edition

DELETE https://{domain}/oapi/v1/flow/organizations/{organizationId}/tagGroups/{id}

Region edition

DELETE https://{domain}/oapi/v1/flow/tagGroups/{id}

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

The personal access token.

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

Request parameters

Parameter

Type

Location

Required

Description

Example

organizationId

string

path

  • Yes: Central edition

  • No: Region edition

The organization ID.

5ebbc0228123212b59xxxxx

id

integer

path

Yes

The ID of the tag group.

111

Request examples

Central edition

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

Region edition

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

Response parameters

Parameter

Type

Description

Example

-

boolean

Indicates whether the request is successful.

true

Response example

true

Error codes

For API error codes, see the Error Code Center.