DeleteFlowTag - Remove tags

Updated at:

Removes a tag from a pipeline.

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. This is required only for the Central edition. You can find the organization ID on the Basic Information page in the Organization Management console.

Product

Resource

Required permission

Pipeline

Tag

Read and write

Request syntax

Central edition

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

Region edition

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

Position

Required

Description

Example

organizationId

string

path

  • Central edition

  • No: Regional

The organization ID.

5ebbc0228123212b59xxxxx

id

integer

path

Yes

The tag ID.

111

Request examples

Central edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/tags/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/tags/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 more information about API error codes, see Error Code Center.