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