翻译任务 API
删除翻译任务
/v1/translation/delete通过ID删除翻译任务。
示例
curl
1curl -X POST 'https://dltranslator.com/api/v1/translation/delete' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{
5 "taskId": "[string]"
6}'
请求参数
参数 | 类型 | 默认 | 描述 | 示例 |
---|---|---|---|---|
*taskId | String | - | 翻译任务ID | - |
响应
参数 | 类型 | 默认 | 描述 | 示例 |
---|---|---|---|---|
success | Boolean | - | 是否删除成功 | - |