Requires any of the roles: | SystemAdministrator, Manager, Customer |
DELETE | /customers/{customerId} |
---|
Imports System
Imports System.IO
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
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: team.evovoice.io Accept: application/json