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
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))
}
}