Updated on 2025-10-22 GMT+08:00

Unbinding Cloud Storage

Function

Unbind cloud storage.

URI

DELETE /v1/{project_id}/cae/volumes/{id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. See Obtaining a Project ID.

id

Yes

String

Cloud storage ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

  • Obtain the token. For details, see "Obtaining a User Token" in Identity and Access Management API Reference (https://support.huaweicloud.com/intl/en-us/api-iam/iam_30_0001.html).

  • The value of X-Subject-Token in the response header is the token value.

X-Enterprise-Project-ID

No

String

Enterprise project ID.

  • When an environment is created, it will be bound with an enterprise project ID.

  • Enter 0 or up to 36 characters in UUID format with hyphens (-).

  • If this parameter is not specified or set to 0, resources in the default enterprise project are queried.

NOTE:
For details about how to obtain enterprise project IDs and enterprise project features, see Enterprise Management User Guide.

X-Environment-ID

Yes

String

Environment ID.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

api_version

String

API version. Fixed value: v1.

kind

String

API type. Fixed value: Component.

items

Array of MountComponent objects

List of mounted components.

Table 4 MountComponent

Parameter

Type

Description

env_id

String

Environment ID.

env_name

String

Environment name.

app_id

String

Application ID.

app_name

String

Application name.

component_id

String

Component ID.

component_name

String

Component name.

Example Requests

Unbind cloud storage.

DELETE https://{endpoint}/v1/{project_id}/cae/volumes/{id}

Example Responses

Status code: 200

OK

{
  "api_version" : "v1",
  "kind" : "Component",
  "items" : [ {
    "env_id" : "5d3d1e90-2f5d-4ef1-958b-3fc1ed0b0898",
    "env_name" : "test",
    "app_id" : "c904781d-aea0-49d4-b756-9b847a10a437",
    "app_name" : "test",
    "component_id" : "f5de88cc-64be-4f70-ac17-db745eb76e67",
    "component_name" : "test-config"
  } ]
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.