MENU
アカウントクォータ設定 - ObjectStorage API v1
Description
アカウントのクォータとして課金開始の設定をします。(default 0GB)
100GB単位で利用領域を設定します。
Request URL
Swift API v1.0 POST /v1/nc_{account}
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | |
X-Account-Meta-Quota-Giga-Bytes | クォータ容量(GBytes) | header |
Request Json
This operation does not accept a request body.
Normal response codes
204
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -i -X POST \ -H "Accept: application/json" \ -H "X-Auth-Token: 2c6f2de2126a4102b38368c32e7043db" \ -H "X-Account-Meta-Quota-Giga-Bytes: 200" \ https://object-storage.tyo1.conoha.io/v1/nc_cc54f7476b8e444bad238a943a94ccdf
- RES
HTTP/1.1 204 No Content Content-Length: 0 Content-Type: text/html; charset=UTF-8 X-Trans-Id: tx3de78d2b0c8d417bb04bc-00554b2078 Date: Thu, 07 May 2015 08:21:12 GMT