Glossary API
Terminologielijst verwijderen
POST/v1/glossary/delete
Verwijder een woordenlijst op ID.
- Volledig adres
- https://dltranslator.com/api/v1/glossary/delete
- Authenticatie
- De API Key moet doorgegeven worden in de Authorization-verzoekheader
- Content-Type
- application/json
- Onjuist formaat
- { "error": "Invalid API key." }
Aandachtspunten
De verwijderbewerking heeft alleen invloed op de terminologielijst onder het huidige API-account.
Voorbeeld
curl
1curl -X POST 'https://dltranslator.com/api/v1/glossary/delete' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "glossaryId": "[string]"
6}'Verzoekparameters
| Parameters | Type | Standaard | Beschrijving | Voorbeeld |
|---|---|---|---|---|
| *glossaryId | String | - | Woordenlijst-ID | - |
Reactie
| Parameters | Type | Standaard | Beschrijving | Voorbeeld |
|---|---|---|---|---|
| success | Boolean | - | Is verwijdering succesvol | - |
Veelvoorkomende fouten
401 Missing API key.
The Authorization request header is required.
401 Invalid API key.
The API key does not exist, has been deleted, or is no longer valid.