PUT api/settings/{id}

Updates a setting.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the setting to update.

globally unique identifier

Required

Body Parameters

The setting model to update with.

SettingDto
NameDescriptionTypeAdditional 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": "3ae74817-1a32-43bb-812b-562b3a2a2b2d",
  "Name": "sample string 2",
  "Value": "sample string 3",
  "CreationDate": "2025-12-06T04:46:49.3504588+00:00",
  "DataType": 0,
  "TenantId": "a795a1da-163f-4cd1-b9cb-949fa39465c7"
}

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-06T04:46:49.3504588+00:00</CreationDate>
  <DataType>Bool</DataType>
  <Id>3ae74817-1a32-43bb-812b-562b3a2a2b2d</Id>
  <Name>sample string 2</Name>
  <TenantId>a795a1da-163f-4cd1-b9cb-949fa39465c7</TenantId>
  <Value>sample string 3</Value>
</SettingDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.