PUT api/user/settings

Request Information

URI Parameters

None.

Body Parameters

UserSettingRequest
NameDescriptionTypeAdditional information
EnableTFA

boolean

None.

MailTo

string

None.

AllowSms

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "enableTFA": true,
  "mailTo": "sample string 2",
  "allowSms": true
}

application/octet-stream

Sample:
{"enableTFA":true,"mailTo":"sample string 2","allowSms":true}

application/xml, text/xml

Sample:
<UserSettingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.User.Request">
  <AllowSms>true</AllowSms>
  <EnableTFA>true</EnableTFA>
  <MailTo>sample string 2</MailTo>
</UserSettingRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfUserSettingResponse
NameDescriptionTypeAdditional information
Data

UserSettingResponse

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "userId": "sample string 1",
    "enableTFA": true,
    "mailTo": "sample string 3",
    "allowSms": true
  },
  "message": "sample string 1"
}

application/octet-stream

Sample:
{"data":{"userId":"sample string 1","enableTFA":true,"mailTo":"sample string 3","allowSms":true},"message":"sample string 1"}

application/xml, text/xml

Sample:
<ResponseResultOfUserSettingResponseBtYhHhLc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.Global.Response">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.User.Response">
    <d2p1:AllowSms>true</d2p1:AllowSms>
    <d2p1:EnableTFA>true</d2p1:EnableTFA>
    <d2p1:MailTo>sample string 3</d2p1:MailTo>
    <d2p1:UserId>sample string 1</d2p1:UserId>
  </Data>
  <Message>sample string 1</Message>
</ResponseResultOfUserSettingResponseBtYhHhLc>