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}
import Foundation
import ServiceStack

/**
* Delete the specified session
*/
// @Api(Description="Delete the specified session")
public class DeleteAISession : IDelete, Codable
{
    /**
    * The ID of the session to delete
    */
    // @ApiMember(Description="The ID of the session to delete")
    public var sessionId:String

    required public init(){}
}


Swift 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