Requires any of the roles: | Manager, SystemAdministrator |
DELETE | /twilio/calls/{callSid} |
---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Twilio
Namespace Global
Namespace Voice.Api.Twilio
'''<Summary>
'''Ends the specified Twilio call
'''</Summary>
<Api(Description:="Ends the specified Twilio call")>
Public Partial Class EndTwilioCall
Implements IDelete
'''<Summary>
'''The account ID that owns the call
'''</Summary>
<ApiMember(Description:="The account ID that owns the call")>
Public Overridable Property AccountId As String
'''<Summary>
'''The call SID of the call
'''</Summary>
<ApiMember(Description:="The call SID of the call")>
Public Overridable Property CallSid 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 /twilio/calls/{callSid} HTTP/1.1 Host: team.evovoice.io Accept: text/jsv