PUT api/UserRights/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UserRight
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IsAdminRight

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "IsAdminRight": true,
  "LastChanged": "2025-08-14T03:24:41.0377853+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<UserRight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Id>1</Id>
  <IsAdminRight>true</IsAdminRight>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:24:41.0377853+00:00</LastChanged>
  <Name>sample string 2</Name>
</UserRight>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserRight'.

Response Information

Resource Description

None.