| Requires the role: | SystemAdministrator |
| DELETE | /ai/sessions/{sessionId} |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.AI
Namespace Global
Namespace Voice.Api.AI
'''<Summary>
'''Delete the specified session
'''</Summary>
<Api(Description:="Delete the specified session")>
Public Partial Class DeleteAISession
Implements IDelete
'''<Summary>
'''The ID of the session to delete
'''</Summary>
<ApiMember(Description:="The ID of the session to delete")>
Public Overridable Property SessionId As String
End Class
End Namespace
End Namespace
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