检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Deleting a VPC Route Function This API is used to delete a route. URI DELETE /v2.0/vpc/routes/{route_id} Table 1 describes the parameters.
Locate the target inbound rule and click Delete in the Operation column. A confirmation dialog box is displayed. Click OK. Deleted inbound rules cannot be recovered.
Deleting a Port Function This API is used to delete a port. Restrictions A port with device_owner set to a value other than neutron:VIP_PORT cannot be deleted. A port with device_id specified cannot be deleted. URI DELETE /v2.0/ports/{port_id} Table 1 describes the parameters.
Deleting a Port Function This API is used to delete a port. A port is used to carry private IP addresses in a subnet. Constraints If device_owner is not empty, the port cannot be deleted. However, there is a special case.
When you delete tags, the tag structure cannot be missing, and the key cannot be left blank or be an empty string. URI POST /v2.0/{project_id}/subnets/{subnet_id}/tags/action Table 1 describes the parameters.
Java Python Go More Delete tags from a network ACL in batches.
Range: N/A Request Parameters None Response Parameters Status code: 204 Normal response to the DELETE operation. For more status codes, see Status Codes. None Example Requests Delete the supplementary network interfaces whose ID is 2be868f2-f7c9-48db-abc0-eea0b9105b0.
Range: None Example Requests Delete tags from a port in batches. The key of the tag is keyxxx, and the value is value1.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies vpc:securityGroups:delete Write securityGroup * g:EnterpriseProjectId vpc:SecurityGroupId g:ResourceTag/<tag-key> - - URI DELETE /v3/{project_id}/vpc/security-groups/{security_group_id} Table 1 Path Parameters
None Example Requests Delete a tag from a network ACL. DELETE https://{Endpoint}/v3/{project_id}/firewalls/{firewall_id}/tags/{tag_key} Example Responses None SDK Sample Code The SDK sample code is as follows.
Deleting a Network Function This API is used to delete a network. URI DELETE /v2.0/networks/{network_id} Table 1 describes the parameters. Table 1 Parameter description Parameter Mandatory Description network_id Yes Specifies the network ID.
Range: None Example Requests Delete a Tag from a port. DELETE https://{Endpoint}/v3/{project_id}/ports/{port_id}/tags/{tag_key} Example Responses None SDK Sample Code The SDK sample code is as follows.
Deleting a Tag from a Security Group Function This API is used to delete a security group tag. This API is idempotent. If the key to be deleted does not exist, error 404 is reported. The key cannot be empty or an empty string.
When you delete tags, the tag structure cannot be missing, and the key cannot be left blank or be an empty string. URI POST /v2.0/{project_id}/vpcs/{vpc_id}/tags/action Table 1 describes the parameters.
Range: N/A Request Parameters None Response Parameters Status code: 204 The DELETE operation is successful. For more status codes, see Status Codes. None Example Requests Delete a single subnet CIDR reservation.
Deleting a Network ACL Policy Function This API is used to delete a network ACL policy. URI DELETE /v2.0/fwaas/firewall_policies/{firewall_policy_id} Table 1 describes the parameters.
Deleting a Network ACL Group Function This API is used to delete a network ACL group. URI DELETE /v2.0/fwaas/firewall_groups/{firewall_group_id} Table 1 describes the parameters.
Deleting a VPC Function This API is used to delete a VPC. URI DELETE /v1/{project_id}/vpcs/{vpc_id} Table 1 describes the parameters. Table 1 Parameter description Parameter Mandatory Description project_id Yes Specifies the project ID.
To delete a network ACL rule, see Deleting a Network ACL Rule.
When you delete tags, the tag structure cannot be missing, and the key cannot be left blank or be an empty string. Debugging You can debug this API through automatic authentication in API Explorer.