Evo Voice

<back to all web services

DeleteCustomer

Delete the specified customer

Requires Authentication
Requires any of the roles:SystemAdministrator, Manager, Customer
The following routes are available for this service:
DELETE/customers/{customerId}
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Customers

Namespace Global

    Namespace Voice.Api.Customers

        '''<Summary>
        '''Delete the specified customer
        '''</Summary>
        <Api(Description:="Delete the specified customer")>
        Public Partial Class DeleteCustomer
            Implements IDelete
            '''<Summary>
            '''The ID of the customer to delete
            '''</Summary>
            <ApiMember(Description:="The ID of the customer to delete")>
            Public Overridable Property CustomerId As String
        End Class
    End Namespace
End Namespace

VB.NET DeleteCustomer DTOs

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /customers/{customerId} HTTP/1.1 
Host: evovoice.io 
Accept: application/xml