Change container type

Prev Next

We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

Change the container type for that domain.

PATCH https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/type

Request

Request Parameters

Parameter Required Type Limitations Description
name Y string Domain name

Request Body

Field Required Type Limitations Description
type Yes string Choose one of the following: small, medium, large, xlarge, xxlarge, xxxlarge Type of container to change

Response

Response status

HTTP status Description
200 OK (Successfully changed)
400 Bad Request
401 Unauthorized
401 there is no such service
403 Forbidden
404 Not Found
500 Internal Server Error

Examples

Request Example

PATCH /CloudSearch/real/v1/domain/car/type HTTP/1.1
Host: cloudsearch.apigw.ntruss.com
accept:application/json
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
x-ncp-apigw-signature-v2: R1r2ZoxV4QLK/weuoF8ug3NBQDzoecEVQgMRpZGoRp0=
x-ncp-apigw-timestamp: 1545808031360

{
  "type": "medium"
}

Response Example

{"result":"OK"}