Evo Voice

<back to all web services

DeleteAISession

Delete the specified session

Requires Authentication
Requires the role:SystemAdministrator
The following routes are available for this service:
DELETE/ai/sessions/{sessionId}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.AI;

namespace Voice.Api.AI
{
    ///<summary>
    ///Delete the specified session
    ///</summary>
    [Api(Description="Delete the specified session")]
    public partial class DeleteAISession
        : IDelete
    {
        ///<summary>
        ///The ID of the session to delete
        ///</summary>
        [ApiMember(Description="The ID of the session to delete")]
        public virtual string SessionId { get; set; }
    }

}

C# DeleteAISession DTOs

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

HTTP + JSV

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

DELETE /ai/sessions/{sessionId} HTTP/1.1 
Host: evovoice.io 
Accept: text/jsv