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": "7e916bc3-b0a5-4316-9968-fc07394694c5",
"Name": "sample string 2",
"Url": "sample string 3",
"DisplayName": "sample string 4",
"ServiceType": 0,
"CreationDate": "2025-12-06T03:11:53.3217057+00:00",
"TenantId": "2cfd50e9-7f38-4585-85b6-0fc22717f9bc",
"UserJourneyId": "4b9e8064-d8f1-4490-b66a-e8ce15ed2527",
"Bypassable": true,
"DefaultValue": "sample string 9",
"SortIndex": 10,
"ModuleSettingProperties": [
{
"Id": "48a53ab5-bc62-4bd1-a77f-3407218b5f35",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:11:53.3217057+00:00",
"ModuleSettingId": "ce526b9a-8f86-4feb-b79a-be9fc0aa8228"
},
{
"Id": "48a53ab5-bc62-4bd1-a77f-3407218b5f35",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2025-12-06T03:11:53.3217057+00:00",
"ModuleSettingId": "ce526b9a-8f86-4feb-b79a-be9fc0aa8228"
}
]
}
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>2025-12-06T03:11:53.3217057+00:00</CreationDate>
<DefaultValue>sample string 9</DefaultValue>
<DisplayName>sample string 4</DisplayName>
<Id>7e916bc3-b0a5-4316-9968-fc07394694c5</Id>
<ModuleSettingProperties>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T03:11:53.3217057+00:00</CreationDate>
<Id>48a53ab5-bc62-4bd1-a77f-3407218b5f35</Id>
<ModuleSettingId>ce526b9a-8f86-4feb-b79a-be9fc0aa8228</ModuleSettingId>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</ModuleSettingPropertyDto>
<ModuleSettingPropertyDto>
<CreationDate>2025-12-06T03:11:53.3217057+00:00</CreationDate>
<Id>48a53ab5-bc62-4bd1-a77f-3407218b5f35</Id>
<ModuleSettingId>ce526b9a-8f86-4feb-b79a-be9fc0aa8228</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>2cfd50e9-7f38-4585-85b6-0fc22717f9bc</TenantId>
<Url>sample string 3</Url>
<UserJourneyId>4b9e8064-d8f1-4490-b66a-e8ce15ed2527</UserJourneyId>
</ModuleSettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.