REST Create Volume

This command will create a 2TB volume with replica 1 named “vol1” in the default project.

To create a volume, use the POST method command for this URL /api/v2/volumes.

This POST method command includes many parameters that are passed to the curl utility. In the following example, the text wraps across multiple lines but it is still a single "curl -x POST" command.

Sample Command

Bash
Copy

Sample Output

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
REST Create Volume