POST api/Users/ToggleRole

Request Information

URI Parameters

None.

Body Parameters

UserRoleModel
NameDescriptionTypeAdditional information
UserID

string

Required

RoleName

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "RoleName": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.