Requires any of the roles: | SystemAdministrator, Manager |
DELETE | /users/{userId} |
---|
Imports System
Imports System.IO
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
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: team.evovoice.io Accept: text/jsv