Evo Voice

<back to all web services

DeleteSessions

Clears out sessions.

The following routes are available for this service:
DELETE/sessions
"use strict";
export class DeleteSessions {
    /** @param {{accountId?:string,startDateTime?:string,endDateTime?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description The account ID you are clearing out */
    accountId;
    /**
     * @type {string}
     * @description The start date to delete from in ISO8601 */
    startDateTime;
    /**
     * @type {string}
     * @description The end date to delete from in ISO8601 */
    endDateTime;
}

JavaScript DeleteSessions DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /sessions HTTP/1.1 
Host: team.evovoice.io 
Accept: text/csv