PUT api/settings/{id}
Updates a setting.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the setting to update. |
globally unique identifier |
Required |
Body Parameters
The setting model to update with.
SettingDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Value | string |
Required |
|
| CreationDate | date |
None. |
|
| DataType | SettingDataTypeDto |
None. |
|
| TenantId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "89bf62bc-c5c6-43bc-8cba-93040193cf30",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:11:37.4128628+00:00",
"DataType": 0,
"TenantId": "7774061f-0c1b-4343-982e-2a24a5ea9a22"
}
application/xml, text/xml
Sample:
<SettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Settings.Models"> <CreationDate>2025-12-06T03:11:37.4128628+00:00</CreationDate> <DataType>Bool</DataType> <Id>89bf62bc-c5c6-43bc-8cba-93040193cf30</Id> <Name>sample string 2</Name> <TenantId>7774061f-0c1b-4343-982e-2a24a5ea9a22</TenantId> <Value>sample string 3</Value> </SettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.