Available in Classic and VPC
Delete a term registered in a glossary.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| DELETE | /glossary/v1/replacer |
Request headers
For information about the headers common to all Papago Translation APIs, see Papago Translation request headers.
Request query parameters
You can use the following query parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
glossaryKey |
String | Required | Glossary ID |
ids |
Long | Required | List of term IDs to delete (up to 20) |
Request example
The request example is as follows:
curl --location --request DELETE 'https://papago.apigw.ntruss.com/glossary/v1/replacer?glossaryKey=1dc87d33-c45d-4398-9a80-98b19dd302fb&ids=12345,12346,12347' \
--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 status codes
For information about the HTTP status codes common to all Papago Translation APIs, see Papago Translation response status codes.
Response example
If the response is successful, the term is deleted along with the message 200 OK.