---
description: Saves or creates a config record and returns the new record object.
---

# saveConfigRecordById

### Parameters

1. mode - Config name
2. id - Record Id

### Example Usages

_Create a new Record with 2 fields_

```javascript
   let newRecord = await brixxServerApi.saveConfigRecordById({
       adrName: "John",
       adrLastName: "Doe",
   });
```

See also client side api [saveConfigRecordById](../../client-api-reference/functions/saveconfigrecord)
