Create CDN Storage

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

OptionData TypeDescriptionExample
label*stringStorage label.my_storage
storage_server_id*integerStorage Server ID.2

Contact Us

 _    _      ___     _    _   
| |  | ||   / _ \\  | \  / || 
| |/\| ||  | / \ || |  \/  || 
|  /\  ||  | \_/ || | .  . || 
|_// \_||   \___//  |_|\/|_|| 
`-`   `-`   `---`   `-`  `-`