DELETE api/User/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
UserName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
IsActive | boolean |
None. |
|
LastLoggedIn | date |
None. |
|
Password | string |
None. |
|
PasswordHash | string |
None. |
|
string |
None. |
||
EmailConfirmed | boolean |
None. |
|
PhoneNumber | string |
None. |
|
PhoneNumberConfirmed | boolean |
None. |
|
LockoutEndDate | date |
None. |
|
LockoutEnabled | boolean |
None. |
|
AccessFailedCount | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
NationalID | string |
None. |
|
BirthDate | date |
None. |
|
BirthPlace | string |
None. |
|
Image | string |
None. |
|
Website | string |
None. |
|
PostalCode | string |
None. |
|
Address | string |
None. |
|
EduDegree | string |
None. |
|
Roles | Collection of Role |
None. |
|
SerialNumber |
every time the user changes his Password, or an admin changes his Roles or stat/IsActive, create a new `SerialNumber` GUID and store it in the DB. |
string |
None. |
Articles | Collection of Article |
None. |
|
ArticleScores | Collection of ArticleScore |
None. |
|
ArticleLikes | Collection of ArticleLike |
None. |
|
Comments | Collection of Comment |
None. |
|
CommentLikes | Collection of CommentLike |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | string |
Max length: 256 |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
Max length: 256 |
|
DeletedDate | date |
None. |
|
DeletedBy | string |
Max length: 256 |
|
Id | integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |