DELETE api/Admin/Users/{username}/Roles/{roleId}/{entityTypeId}/{entityId}

Remove a user from a role (optionally over an entity type and operation type)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

application username

string

Required

roleId

role id

integer

Required

entityTypeId

entity type id

integer

Required

entityId

entity id

integer

Required

Body Parameters

disciplines associated to user

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

text/html

Sample:
["sample string 1","sample string 2"]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>