URL
https://cdnsun.com/api/storages
Method
POST
Curl example
curl -i -X POST -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/storages' -d '{"storage":{"label":"my_storage","storage_server_id":2}}'
Options
Option | Data Type | Description | Example |
---|---|---|---|
label* | string | Storage label. | my_storage |
storage_server_id* | integer | Storage Server ID. | 2 |