Evo Voice

<back to all web services

DeleteUser

Deletes the specified login

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

Namespace Global

    Namespace Voice.Api.Authentication

        '''<Summary>
        '''Deletes the specified login
        '''</Summary>
        <Api(Description:="Deletes the specified login")>
        Public Partial Class DeleteUser
            Implements IDelete
            '''<Summary>
            '''The ID of the login to delete
            '''</Summary>
            <ApiMember(Description:="The ID of the login to delete")>
            Public Overridable Property UserId As String
        End Class
    End Namespace
End Namespace

VB.NET DeleteUser 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 /users/{userId} HTTP/1.1 
Host: evovoice.io 
Accept: application/xml