DELETE | /sessions |
---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
/**
* Clears out sessions.
*/
@Api(Description="Clears out sessions.")
open class DeleteSessions : IDelete
{
/**
* The account ID you are clearing out
*/
@ApiMember(Description="The account ID you are clearing out")
open var accountId:String? = null
/**
* The start date to delete from in ISO8601
*/
@ApiMember(Description="The start date to delete from in ISO8601")
open var startDateTime:String? = null
/**
* The end date to delete from in ISO8601
*/
@ApiMember(Description="The end date to delete from in ISO8601")
open var endDateTime:String? = null
}
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 /sessions HTTP/1.1 Host: team.evovoice.io Accept: text/jsv