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

  _____      ___     __   _   
 / ____||   / _ \\  | || | || 
/ //---`'  | / \ || | '--' || 
\ \\___    | \_/ || | .--. || 
 \_____||   \___//  |_|| |_|| 
  `----`    `---`   `-`  `-`