DELETE api/RolesInt/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

RoleInt
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Users

Collection of UserRoleInt

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "users": [
    {
      "$id": "2",
      "userId": 1,
      "user": {
        "$id": "3",
        "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-02T14:06:49.387Z",
        "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": [
          {
            "$id": "4",
            "id": 1,
            "userId": 2,
            "user": {
              "$ref": "3"
            },
            "claimType": "sample string 3",
            "claimValue": "sample string 4"
          },
          {
            "$ref": "4"
          }
        ],
        "logins": [
          {
            "$id": "5",
            "loginProvider": "sample string 1",
            "providerKey": "sample string 2",
            "userId": 3,
            "user": {
              "$ref": "3"
            }
          },
          {
            "$ref": "5"
          }
        ],
        "roles": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "createdAt": "2024-05-02T14:06:49.387Z",
        "createdBy": "sample string 15",
        "updatedAt": "2024-05-02T14:06:49.387Z",
        "updatedBy": "sample string 17"
      },
      "roleId": 2,
      "role": {
        "$ref": "1"
      }
    },
    {
      "$ref": "2"
    }
  ]
}