Evo Voice

<back to all web services

DeleteSessions

Clears out sessions.

The following routes are available for this service:
DELETE/sessions


export class NodeParameterMap
{
    [key:string] : NodeParameter;

    public constructor(init?: Partial<NodeParameterMap>) { (Object as any).assign(this, init); }
}


/** @description Clears out sessions. */
// @Api(Description="Clears out sessions.")
export class DeleteSessions implements IDelete
{
    /** @description The account ID you are clearing out */
    // @ApiMember(Description="The account ID you are clearing out")
    public accountId: string;

    /** @description The start date to delete from in ISO8601 */
    // @ApiMember(Description="The start date to delete from in ISO8601")
    public startDateTime: string;

    /** @description The end date to delete from in ISO8601 */
    // @ApiMember(Description="The end date to delete from in ISO8601")
    public endDateTime: string;

    public constructor(init?: Partial<DeleteSessions>) { (Object as any).assign(this, init); }
}

TypeScript DeleteSessions DTOs

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

HTTP + OTHER

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/jsonl