Pricing 
API Pricing

Try For Free Now

Dark

Light

Delete Callback
Delete Callback URL
Delete the callback URL. After this operation completed, translation result will not be sent.
Endpoint
Request details
DELETE
https://translate.rozetta-api.io/api/v1/callback
Header
Header
Description
Content-Type
application/json
accessKey, nonce, signature
Please refer to the authentication section.
Request Sample
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
When a request succeeds, the status will be "success", otherwise it will be "failure".
data
The value will be null.

api/v1/callback
Delete the 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;
}
About the authentication, please refer to the authentication section.
You can get a full version of sample codes here
©️ 2019 Rozetta API  ・  Powered by Rozetta

Rozetta Corp.

^