API อภิธานศัพท์
ลบศัพท์คลัง
/v1/glossary/deleteลบศัพท์คลังโดยใช้ ID
ตัวอย่าง
curl
1curl -X POST 'https://otranslator.com/api/v1/glossary/delete' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "glossaryId": "[string]"
6}'พารามิเตอร์ของคำขอ
| พารามิเตอร์ | ประเภท | ค่าเริ่มต้น | คำอธิบาย | ตัวอย่าง |
|---|---|---|---|---|
| *glossaryId | String | - | รหัส Glossary | - |
การตอบสนอง
| พารามิเตอร์ | ประเภท | ค่าเริ่มต้น | คำอธิบาย | ตัวอย่าง |
|---|---|---|---|---|
| success | Boolean | - | การลบสำเร็จหรือไม่ | - |