MENU

Description

イメージ保存容量のクオータを設定する
※ private イメージの合計最大容量設定
※ 同じ容量のイメージは設定できません。

Request URL

Image API v2

PUT /v2/quota

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
tyo1_image_size (tyo1リージョン) plain
sjc1_image_size (sjc1リージョン) plain
sin1_image_size (sin1リージョン) plain

Request Json

{
  "quota":{
    "tyo1_image_size": "550GB" 
  }
}

Normal response codes

OK (200)

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X PUT \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
-d '{"quota":{"tyo1_image_size": "550GB"}}' \
https://image-service.tyo1.conoha.io/v2/quota
  • RES
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 10:17:20 GMT
Server: Apache
Content-Length: 6102
Content-Type: application/json

{
  "quota":{
    "tyo1_image_size": "550GB"
  }
}