Pricing 
API Pricing

Try For Free Now

Dark

Light

USER DICTIONARY
Delete an user dictionary entry
Delete an user dictionary entry.
User dictionary is only applied to T-4OO engine, Real-time. T-3MT engine.
Endpoint
Request details
DELETE
https://translate.rozetta-api.io/api/v1/dictionary/<id>
Path parameter
Path parameter
Description
id
Entry ID.
Header
Header
Description
Content-Type
application/json
accessKey, nonce, signature
Please refer to the authentication section.
Request Sample
curl -H "nonce: Your Nonce" -H "accessKey: Your Access Key" -H "signature: Your Signature" -H "Content-Type: application/json" -X DELETE https://translate.rozetta-api.io/api/v1/dictionary/12
Response
Key
Description
status
For successfully adding of an entry, this field will be "success". For unsuccessful requests, this field will be "failure".
Limitation
Limitation
Only 3 or less words of User Dictionary can be applied in one sentence when using real-time translation engine. For example: "猫"→"Kitty" "犬"→"Marutaro" "ウサギ"→"Peter" "クマ"→"Teddy" When send request below ["これはです。それはです。ウサギクマも動物です。", "ウサギクマも可愛いです。"] The result will be like: ["This is Kitty. It is Marutaro. Both Peter and bears are animals.", "Both Peter and Teddy are cute."] ※For there are 3 user dictionaries:「猫」、「犬」、「ウサギ」are applied in first sentence, 「クマ」 will not be applied.

api/v1/dictionary/<id>
Delete an user dictionary entry.
Go
JavaScript
func DeleteUserDictionaryEntry(basePath string) {
  apiURL := "/api/v1/dictionary/<ENTRY_ID>"

  client := &http.Client{}
  req, _ := http.NewRequest("DELETE", GetFullUrl(basePath, apiURL), nil)
  res, err := client.Do(req)

  if err != nil {
      fmt.Printf("The HTTP request failed with error %s\n", err)
  } else {
      data, _ := ioutil.ReadAll(res.Body)
      data, _ = prettyprint(data)
      fmt.Println(string(data))
  }
}
About the authentication, please refer to the authentication section.
You can get a full version of sample codes here
©️ 2019 Rozetta API  ・  Powered by Rozetta

Rozetta Corp.

^