DELETE api/Users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
Id

integer

None.

Username

string

Required

Password

string

Required

Client

Client

Required

Role

Role

Required

IsAdmin

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 2",
  "Password": "sample string 3",
  "Client": {
    "Id": 1,
    "ClientName": "sample string 2"
  },
  "Role": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "IsAdmin": false
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.Models">
  <Client>
    <ClientName>sample string 2</ClientName>
    <Id>1</Id>
  </Client>
  <Id>1</Id>
  <Password>sample string 3</Password>
  <Role>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Role>
  <Username>sample string 2</Username>
</User>