| Requires the role: | SystemAdministrator |
| DELETE | /ai/sessions/{sessionId} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
/**
* Delete the specified session
*/
@Api(Description="Delete the specified session")
public static class DeleteAISession implements IDelete
{
/**
* The ID of the session to delete
*/
@ApiMember(Description="The ID of the session to delete")
public String sessionId = null;
public String getSessionId() { return sessionId; }
public DeleteAISession setSessionId(String value) { this.sessionId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl