PUT api/moduleSettings/{id}
Updates a module setting.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the module setting to update. |
globally unique identifier |
Required |
Body Parameters
The module setting model to update with.
ModuleSettingDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Url | string |
Required |
|
| DisplayName | string |
Required |
|
| ServiceType | ModuleSettingServiceTypeDto |
None. |
|
| CreationDate | date |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| UserJourneyId | globally unique identifier |
None. |
|
| Bypassable | boolean |
None. |
|
| DefaultValue | string |
None. |
|
| SortIndex | integer |
None. |
|
| ModuleSettingProperties | Collection of ModuleSettingPropertyDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8e446b6f-6123-49b0-8d25-a6fe05a28c45",
"Name": "sample string 2",
"Url": "sample string 3",
"DisplayName": "sample string 4",
"ServiceType": 0,
"CreationDate": "2026-01-11T20:21:04.1456253+00:00",
"TenantId": "358878bb-e86e-4a75-b840-ff7dd750e341",
"UserJourneyId": "f08fdb14-6c71-4d02-9855-a472889ff144",
"Bypassable": true,
"DefaultValue": "sample string 9",
"SortIndex": 10,
"ModuleSettingProperties": [
{
"Id": "63e5b23b-9a70-4fcd-b012-88fa36898e1d",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T20:21:04.1456253+00:00",
"ModuleSettingId": "56dcda5f-19f2-47ff-a8b0-b11d99f9927d"
},
{
"Id": "63e5b23b-9a70-4fcd-b012-88fa36898e1d",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-11T20:21:04.1456253+00:00",
"ModuleSettingId": "56dcda5f-19f2-47ff-a8b0-b11d99f9927d"
}
]
}
application/xml, text/xml
Sample:
<ModuleSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Settings.Models">
<Bypassable>true</Bypassable>
<CreationDate>2026-01-11T20:21:04.1456253+00:00</CreationDate>
<DefaultValue>sample string 9</DefaultValue>
<DisplayName>sample string 4</DisplayName>
<Id>8e446b6f-6123-49b0-8d25-a6fe05a28c45</Id>
<ModuleSettingProperties>
<ModuleSettingPropertyDto>
<CreationDate>2026-01-11T20:21:04.1456253+00:00</CreationDate>
<Id>63e5b23b-9a70-4fcd-b012-88fa36898e1d</Id>
<ModuleSettingId>56dcda5f-19f2-47ff-a8b0-b11d99f9927d</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
<ModuleSettingPropertyDto>
<CreationDate>2026-01-11T20:21:04.1456253+00:00</CreationDate>
<Id>63e5b23b-9a70-4fcd-b012-88fa36898e1d</Id>
<ModuleSettingId>56dcda5f-19f2-47ff-a8b0-b11d99f9927d</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
</ModuleSettingProperties>
<Name>sample string 2</Name>
<ServiceType>None</ServiceType>
<SortIndex>10</SortIndex>
<TenantId>358878bb-e86e-4a75-b840-ff7dd750e341</TenantId>
<Url>sample string 3</Url>
<UserJourneyId>f08fdb14-6c71-4d02-9855-a472889ff144</UserJourneyId>
</ModuleSettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.