Edit domain
- Print
- PDF
Edit domain
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.
Edits domain information.
PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}
Request
Request Parameters
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
name | Y | string | Domain name |
Request Body
Field | Required | Type | Limitations | Description |
---|---|---|---|---|
description | N | string | 1-100 characters | Description of the domain to edit |
name | N | string | Only English alphabet, numbers, "_" and "-" are allowed. The name must start with an alphabetical character or "_", and must be between 3 and 20 characters in length. | Name of a domain to edit |
Response
Response status
HTTP status | Description |
---|---|
200 | OK (Successfully edited) |
400 | Bad Request |
401 | Unauthorized |
401 | there is no such service |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
Examples
Request Example
PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/car_dev
PUT /CloudSearch/real/v1/domain/car_dev HTTP/1.1
Host: cloudsearch.apigw.ntruss.com
accept:application/json
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
x-ncp-apigw-signature-v2: UOPqHUyKDuS3sxFlaM/U0GW3TWfJwu1qNDPhwLffm8s=
x-ncp-apigw-timestamp: 1545803983633
{"description": "search engine for car"}
Request Example
{"result":"ok"}
Was this article helpful?