how to remove twilio logs(message) using "aloha/twilio" package?

Submitted by ssboopathi1991 - 6 years ago

I am using below method to get the logs from twilio account.

  $client = new Services_Twilio($twilo_sid, $twilio_token);
$call = $client->account->messages->getIterator(0, 50, array('DateCreated>' => '2016-09-25 08:00:00', 'DateCreated<' => '2016-12-01'));

Unable to get the result. Reference link:

Above link reference they used to get the call recordings, but need to get message logs.

I am refer this link also

i am using aloha sdk version-4.

But here i am getting the error
        "message": "The requested resource /2010-04-01/Accounts/ACa0946c498b75106632928c87c2a1e70f/Transcriptions/SM47a7aaa4cff04a23ac0e6138e3652037.json was not found",
        "code": 20404,
        "status_code": 500,
        "debug": {
            "line": 297,
            "file": "/var/www/html/vendor/twilio/sdk/Services/Twilio.php",
            "class": "Services_Twilio_RestException",
            "trace": [------]