POST api/Account/SetMobilAppAccess

Ustawienie dostępu do aplikacji mobilnej (PhoneNumberConfirmed) - tylko SuperAdmin

Request Information

URI Parameters

None.

Body Parameters

Model zawierający UserName i Status (1 = włącz, 2 = wyłącz)

SetMobilAppAccessBindingModel
NazwaOpisTypInformacje dodatkowe
UserName

string

Required

Status

Status dostępu do aplikacji mobilnej: 1 = true, 2 = false

integer

Required

Range: inclusive between 1 and 2

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Status": 2
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SetMobilAppAccessBindingModel'.

Response Information

Resource Description

Wynik operacji

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.