收费标准 
API价格

马上免费试用

暗色

亮色

Delete Callback
删除回调URL
删除該Access Key的回调URL。删除后,文件翻译完成时不会收到任何通知。
Endpoint
Request details
DELETE
https://translate.rozetta-api.io/api/v1/callback
Header
Header
Description
Content-Type
application/json
accessKey, nonce, signature
请参考「加密签名」章节
Request例文
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/callback
Response
Key
Description
status
成功为success,失败为failure。
data
返回null值。

api/v1/callback
删除回调URL。
JavaScript
const axios = require("axios");
const API_URL="https://translate.rozetta-api.io/api/v1/callback";

async function deleteCallback(accessKey, nonce, signature) {
  const resp = await axios({
      method: 'delete',
      url: API_URL,
      timeout: 10000,
      headers: {accessKey,nonce, signature},
  });
  if (resp.status >= 200 && resp.status < 300)
      return true;
  return false;
}
关于认证方法,请参考「加密签名」章节。
关于各语言完整的示例代码,请参考这裡
©️ 2019 Rozetta API  ・  Powered by Rozetta

Rozetta股份有限公司

^