Delete glossary

Prev Next

Available in Classic and VPC

Delete a glossary in its entirety.

Caution

Proceed with caution, as deletion is unrecoverable.

Request

This section describes the request format. The method and URI are as follows:

Method URI
DELETE /{glossaryKey}

Request headers

For information about the headers common to all Papago Translation APIs, see Common Papago Translation headers.

Request example

The request example is as follows:

curl --location --request DELETE 'https://papago.apigw.ntruss.com/glossary/v1/{glossaryKey}' \
--header 'x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}' \
--header 'x-ncp-iam-access-key: {x-ncp-iam-access-key}' \
--header 'x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
data Object - Glossary creation details
data.glossaryKey String - Glossary ID

Response status codes

For information about the HTTP status codes common to all Papago Translation APIs, see Common Papago Translation response status codes.

Response example

The response example is as follows:

{
  "error": {
    "errorCode": "500",
    "message": "Internal Server Error"
  }
}