setObjectStorageBucket
- 印刷する
- PDF
setObjectStorageBucket
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
VPC環境で利用できます。
Notebook ACG規則の一覧を確認します。
リクエスト
リクエストヘッダ
リクエストボディ
- JSON
{ "id": "1houuwqVr1kf1PCcvjDvxu", "bucketName": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <SetNotebookBucketRequest> <id>1houuwqVr1kf1PCcvjDvxu</id> <bucketName>string</bucketName> </SetNotebookBucketRequest>
レスポンス
レスポンスボディ
- JSON
{ "success": true, "message": "success" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <SetNotebookBucketResponse> <success>true</success> <message>success</message> </SetNotebookBucketResponse>
エラーコード
例
リクエスト例
POST http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/setObjectStorageBucket
HOST: ctrl.kr.df.beta.naverncp.com
X-NCP-MBR_NO: 1814
X-NCP-REQUEST_TYPE_CODE: CONSOLE
X-NCP-USER_TYPE: Customer
X-NCP-AUTH_TOKEN: mymO8sbBN+M7TRHfa6n12NGz6LTwTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+etW/qlNdQhiCCYrHzwAeYAqCS9YOzwiQ4CIW+pmZf9t4fV3aoPDpqWTJRHGc82LK9AR5BPDenzNg==' \
X-NCP-IAM-ACCESS-KEY: 17F9A6E9F72BD92ED94B
X-NCP-REGION_CODE: KR
X-NCP-LANG: en-US
X-NCP-USER_REQ_ID: ad3d0dd0-cd48-11ed-afa1-0242ac120002
Content-Type: application/json
{
"id": "1hour1kvxu",
"bucketName": "test"
}
curl -X 'POST' \
'http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/setObjectStorageBucket' \
-H 'accept: application/xml' \
-H 'X-NCP-MBR_NO: 1814' \
-H 'X-NCP-REQUEST_TYPE_CODE: CONSOLE' \
-H 'X-NCP-USER_TYPE: Customer' \
-H 'X-NCP-AUTH_TOKEN: mymO8sbEsfH2Zgxdr8kE5xdPrsODgcCuuUJM4Ob1rMGVovTQdggukVM0dnmA1k2gtIWrlLkqprHf07833+Koa9Lzj2ccvC6F1M50/TDpCQDEqkUNmvAsqeTG5Qlyq4o6eFDJPt5GgiIb11iZHhe1fTQ0mIRzZjNdHrOPqk6SlXG742GjrYdLPgclCO3jrBwZq73ZfzYCitm61m3xY56oalcyBFyqCh9lOHMDl5S1d+pSBN+M7TRHfa6n12NGz6LTwTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+etW/qlNdQhiCCYrHzwAeYAqCS9YOzwiQ4CIW+pmZf9t4fV3aoPDpqWTJRHGc82LK9AR5BPDenzNg==' \
-H 'X-NCP-IAM-ACCESS-KEY: 17F9A6E9F72BD92ED94B' \
-H 'X-NCP-REGION_CODE: KR' \
-H 'X-NCP-LANG: en-US' \
-H 'X-NCP-USER_REQ_ID: ad3d0dd0-cd48-11ed-afa1-0242ac120002' \
-H 'Content-Type: application/json' \
-d '{
"id": "1hour1kvxu",
"bucketName": "test"
}'
レスポンス例
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "message": "success" }
この記事は役に立ちましたか?