| Requires the role: | SystemAdministrator |
| 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; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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