POST api/tenants/{tenantId}/settings
Updates tenant settings.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tenantId |
The tenant to update settings for |
integer |
Required |
Body Parameters
The new or updated settings
Collection of TenantSettingName | Description | Type | Additional information |
---|---|---|---|
Setting |
The setting's identifier |
string |
None. |
Value |
The value of the setting |
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:
<ArrayOfTenantSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <TenantSetting> <Setting>sample string 1</Setting> <Value>sample string 2</Value> </TenantSetting> <TenantSetting> <Setting>sample string 1</Setting> <Value>sample string 2</Value> </TenantSetting> </ArrayOfTenantSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.