POST api/tenants/{tenantId}/settings

Updates tenant settings.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantId

The tenant to update settings for

integer

Required

Body Parameters

The new or updated settings

Collection of TenantSettingOfTenantSettingCode
NameDescriptionTypeAdditional information
Setting

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "setting": "sample string 1",
    "value": "sample string 2"
  },
  {
    "setting": "sample string 1",
    "value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTenantSettingOfTenantSettingCodexsQ0aBtf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <TenantSettingOfTenantSettingCodexsQ0aBtf>
    <Setting>sample string 1</Setting>
    <Value>sample string 2</Value>
  </TenantSettingOfTenantSettingCodexsQ0aBtf>
  <TenantSettingOfTenantSettingCodexsQ0aBtf>
    <Setting>sample string 1</Setting>
    <Value>sample string 2</Value>
  </TenantSettingOfTenantSettingCodexsQ0aBtf>
</ArrayOfTenantSettingOfTenantSettingCodexsQ0aBtf>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.