Requires any of the roles: | SystemAdministrator, Manager, Customer |
DELETE | /files/{fileId} |
---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Files
Namespace Global
Namespace Voice.Api.Files
'''<Summary>
'''Delete the specified file
'''</Summary>
<Api(Description:="Delete the specified file")>
Public Partial Class DeleteFile
Implements IDelete
'''<Summary>
'''The ID of the file to delete
'''</Summary>
<ApiMember(Description:="The ID of the file to delete")>
Public Overridable Property FileId As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /files/{fileId} HTTP/1.1 Host: team.evovoice.io Accept: application/xml