PUT v1/users/{username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

UserDto
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

UserName

string

None.

IsDeleted

boolean

None.

Email

string

Required

Matching regular expression pattern: (?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*|""(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*"")@(?:(?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9](?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9-]*[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9])?\.)+[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9](?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9-]*[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[A-Za-z0-9-]*[A-Za-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])

SystemRoles

Collection of SystemRoleDto

Required

Request Formats

application/json, text/json

Sample:
{
  "UserId": "4adcf28f-4091-44d1-aea5-a0ae50780439",
  "UserName": "sample string 2",
  "IsDeleted": true,
  "Email": "sample string 4",
  "SystemRoles": [
    {
      "RoleName": "sample string 1",
      "Description": "sample string 2"
    },
    {
      "RoleName": "sample string 1",
      "Description": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.User">
  <Email>sample string 4</Email>
  <IsDeleted>true</IsDeleted>
  <SystemRoles>
    <SystemRoleDto>
      <Description>sample string 2</Description>
      <RoleName>sample string 1</RoleName>
    </SystemRoleDto>
    <SystemRoleDto>
      <Description>sample string 2</Description>
      <RoleName>sample string 1</RoleName>
    </SystemRoleDto>
  </SystemRoles>
  <UserId>4adcf28f-4091-44d1-aea5-a0ae50780439</UserId>
  <UserName>sample string 2</UserName>
</UserDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserDto
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

UserName

string

None.

IsDeleted

boolean

None.

Email

string

Required

Matching regular expression pattern: (?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*|""(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*"")@(?:(?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9](?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9-]*[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9])?\.)+[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9](?:[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9-]*[\u00A0-\uD7FF\uE000-\uFFFF-A-Za-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[A-Za-z0-9-]*[A-Za-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])

SystemRoles

Collection of SystemRoleDto

Required

Response Formats

application/json, text/json

Sample:
{
  "UserId": "93c3b288-0d6c-4856-bb04-640507d9276b",
  "UserName": "sample string 2",
  "IsDeleted": true,
  "Email": "sample string 4",
  "SystemRoles": [
    {
      "RoleName": "sample string 1",
      "Description": "sample string 2"
    },
    {
      "RoleName": "sample string 1",
      "Description": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.User">
  <Email>sample string 4</Email>
  <IsDeleted>true</IsDeleted>
  <SystemRoles>
    <SystemRoleDto>
      <Description>sample string 2</Description>
      <RoleName>sample string 1</RoleName>
    </SystemRoleDto>
    <SystemRoleDto>
      <Description>sample string 2</Description>
      <RoleName>sample string 1</RoleName>
    </SystemRoleDto>
  </SystemRoles>
  <UserId>93c3b288-0d6c-4856-bb04-640507d9276b</UserId>
  <UserName>sample string 2</UserName>
</UserDto>