doc-exports/docs/vpc/api-ref/vpc_sharebandwidth_0003.html
Qin Ying, Fan 7e6f07b803 VPC API 20240320 version
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2024-09-05 12:25:23 +00:00

4.9 KiB

Deleting a Shared Bandwidth

Function

This API is used to delete a shared bandwidth.

URI

DELETE /v2.0/{project_id}/bandwidths/{bandwidth_id}

Table 1 describes the parameters.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

bandwidth_id

Yes

Specifies the bandwidth ID, which uniquely identifies the bandwidth.

Currently, only the shared bandwidth can be deleted.

Request Message

  • Request parameter

    None

  • Example request
    DELETE https://{Endpoint}/v2.0/{project_id}/bandwidths/{bandwidth_id}

Response Message

  • Response parameter

    None

  • Example response

    Or

    {
           "code":"xxx",
           "message":"xxxxx"
    }

Status Code

See Status Codes.

Error Code

See Error Codes.