PUT api/user/settings
Request Information
URI Parameters
None.
Body Parameters
UserSettingRequest| Name | Description | Type | Additional 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
ResponseResultOfUserSettingResponseExt| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | UserSettingResponseExt |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"mailTo": null,
"userId": "sample string 1",
"enableTFA": true,
"allowSms": true
},
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":{"mailTo":null,"userId":"sample string 1","enableTFA":true,"allowSms":true},"message":"sample string 1"}
application/xml, text/xml
Sample:
<ResponseResultOfUserSettingResponseExtRplYTJAb 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/Bond.Mx.Api.MRM.Users.Responses">
<AllowSms xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.User.Response">true</AllowSms>
<EnableTFA xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.User.Response">true</EnableTFA>
<MailTo i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.User.Response" />
<UserId xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.User.Response">sample string 1</UserId>
</Data>
<Message>sample string 1</Message>
</ResponseResultOfUserSettingResponseExtRplYTJAb>