PUT api/UserClaimsInt/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UserClaimInt
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

User

UserInt

None.

ClaimType

string

None.

ClaimValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "userId": 2,
  "user": {
    "$id": "2",
    "id": 1,
    "email": "sample string 2",
    "emailConfirmed": true,
    "passwordHash": "sample string 4",
    "securityStamp": "sample string 5",
    "phoneNumber": "sample string 6",
    "phoneNumberConfirmed": true,
    "twoFactorEnabled": true,
    "lockoutEndDateUtc": "2024-05-02T19:25:22.278Z",
    "lockoutEnabled": true,
    "accessFailedCount": 10,
    "userName": "sample string 11",
    "firstName": "sample string 12",
    "lastName": "sample string 13",
    "firstLastName": "sample string 12 sample string 13",
    "lastFirstName": "sample string 13 sample string 12",
    "claims": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "logins": [
      {
        "$id": "3",
        "loginProvider": "sample string 1",
        "providerKey": "sample string 2",
        "userId": 3,
        "user": {
          "$ref": "2"
        }
      },
      {
        "$ref": "3"
      }
    ],
    "roles": [
      {
        "$id": "4",
        "userId": 1,
        "user": {
          "$ref": "2"
        },
        "roleId": 2,
        "role": {
          "$id": "5",
          "id": 1,
          "name": "sample string 2",
          "users": [
            {
              "$ref": "4"
            },
            {
              "$ref": "4"
            }
          ]
        }
      },
      {
        "$ref": "4"
      }
    ],
    "createdAt": "2024-05-02T19:25:22.278Z",
    "createdBy": "sample string 15",
    "updatedAt": "2024-05-02T19:25:22.278Z",
    "updatedBy": "sample string 17"
  },
  "claimType": "sample string 3",
  "claimValue": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.