Last updated:2022-09-05 10:13:13

1. Description

You can call this operation to detach the specified EBS volume from the specified KEC instance. You can detach an EBS volume from a KEC instance only when the EBS volume is in the in-use state and the KEC instance is in the active or stopped state.

2. Request parameters

Parameter Type Required Description
VolumeId String Yes The ID of the EBS volume to be detached from a KEC instance. The EBS volume and the KEC instance must reside in the same availability zone. The ID must be 36 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
InstanceId String No The ID of the KEC instance from which the EBS volume is to be detached.
Version String Yes The API version. Valid value: 2016-03-04.

3. Response parameters

Parameter Type Required Description
RequestId String Yes The request ID, which is unique. A request ID is returned for each request.
Return Boolean No Indicates whether the EBS volume is detached. True indicates yes.

4. Examples

Request parameters

Response parameters

  "RequestId": "6e2682a1-5968-42f5-80e5-284aae218df0",
  "Return": true

Did you find the above information helpful?

Mostly Unhelpful
A little helpful
Very helpful

What might be the problems?

Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions


Please give us your feedback.


Thank you for your feedback.