• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. API Reference
  4. APIs
  5. Subnet Tag Management
  6. Deleting a Subnet Tag

Deleting a Subnet Tag

Function

This interface is used to delete a subnet tag.

In the URI, project_id indicates the project ID, subnet_id indicates the target subnet ID, and key indicates the key of the tag to be deleted.

URI

DELETE /v2.0/{project_id}/subnets/{subnet_id}/tags/{key}

Request Message

Request parameter

None

Example request

DELETE /v2.0/{project_id}/subnets/{subnet_id}/tags/{key}

Response Message

Response parameter

None

Example response

None

Status Codes

Normal Response Code

Type

Description

204

No Content

Specifies the normal response code for the DELETE operation.

Error Codes

For details, see section Subnet Tag Error Codes.