POST api/Users/SetIsBlocked

Request Information

URI Parameters

None.

Body Parameters

IsBlockedArg
NameDescriptionTypeAdditional information
username

string

None.

companyCode

string

None.

isAD

boolean

None.

isBlocked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "companyCode": "sample string 2",
  "isAD": true,
  "isBlocked": true
}

text/html

Sample:
{"username":"sample string 1","companyCode":"sample string 2","isAD":true,"isBlocked":true}

application/xml, text/xml

Sample:
<IsBlockedArg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UsersManagementApi.Models">
  <companyCode>sample string 2</companyCode>
  <isAD>true</isAD>
  <isBlocked>true</isBlocked>
  <username>sample string 1</username>
</IsBlockedArg>

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>