Evo Voice

<back to all web services

DeleteFile

Delete the specified file

Requires Authentication
Requires any of the roles:SystemAdministrator, Manager, Customer
The following routes are available for this service:
DELETE/files/{fileId}
Imports System
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

VB.NET DeleteFile DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: evovoice.io 
Accept: text/csv