DeleteAppTag - Delete an application tag

Updated at:

Applicable versions

Central Edition, Region Edition

Endpoint and authorization information

  • Obtain the endpoint to replace the {domain} parameter in the API request syntax.
  • Obtain a personal access token.
  • Obtain the organizationId: This is required only for the Central Edition. You can obtain the organization ID from the Basic Information page in the Tenant Management console.

Product

Resource

Required permission

Application Delivery

Application Tag

Read/Write

Request syntax

Central Edition

DELETE https://{domain}/oapi/v1/appstack/organizations/{organizationId}/appTags/deleteTag

Region Edition

DELETE https://{domain}/oapi/v1/appstack/appTags/deleteTag

Request header

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

organizationId

string

path

  • Yes: Central Edition

  • No: Region Edition

The organization ID.

ec766e63aee3437d9a51f334d6exe671

name

string

query

Yes

The name of the application tag.

mytag

Request examples

Central Edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/appTags/deleteTag?name=mytag' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region Edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/appstack/appTags/deleteTag?name=mytag' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

None

Error codes

For information about API error codes, see the Error Code Center.