DELETE Api/User/{userId}
Deletes an existing user. Warning: This may delete A LOT of related data. Handle with care!
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
The ID of the user to delete. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The deleted user.
UserResponseName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
IsEnabled | boolean |
None. |
|
UserName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "IsEnabled": true, "UserName": "sample string 5" }
application/xml, text/xml
Sample:
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses"> <FirstName>sample string 2</FirstName> <Id>1</Id> <IsEnabled>true</IsEnabled> <LastName>sample string 3</LastName> <UserName>sample string 5</UserName> </UserResponse>