All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

UpdateVolumeProject

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

1. Description

You can call this operation to update the project to which an EBS volume belongs.

2. Request parameters

Parameter Type Required Description
VolumeId.N String Yes The ID of the EBS volume. For more information about how to specify this parameter, see the Examples section of this topic. The ID must be 36 characters in length and can contain letters, digits, and hyphens (-). You can specify up to 100 IDs. N ranges from 1 to 100. The EBS volume must be in the available state.
ProjectId String Yes The ID of the new project to which the EBS volume belongs. The project must be in the available state.
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 project of the EBS volume is updated. True indicates yes.

4. Examples

Request parameters

http://ebs.api.ksyun.com/
?Action=UpdateVolumeProject
&Version=2016-03-04
&ProjectId=199
&VolumeId.1=d57e9091-e0f7-407d-a153-926314eb2f9f
&VolumeId.2=dfcfd019-f08c-453d-997b-52913ab88ad3

Response parameters

{
  "RequestId": "6e2682a1-5968-42f5-80e5-284aae218df0",
  "Return": true
}
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback