---
title: HypeXAPI.changeConfig
slug: hypexapichangeconfig
description: Learn how to effectively change configuration settings for ADL.XAPIWrapper with this informative document. Discover the step-by-step process of using the function by updating the config object, along with a helpful example code snippet. Plus, find out how
docTags: 
createdAt: 2022-05-04T10:07:58.000Z
---

This function allows you to change the configuration settings for ADL.XAPIWrapper. You can use it to update the settings for your environment, such as the base URL, logging, and other options.

To use this function, simply pass in an updated config object. The object should contain the parameters you wish to update. For example, to change the base URL, you would include the "url" parameter.

Once you have updated the config object, simply call the changeConfig function. ADL.XAPIWrapper will then update its settings accordingly.

Here is an example of how to use the changeConfig function:

```javascript
var config = {
    "url": "https://example.com/xapi/"
};

HypeXAPI.changeConfig(config);
```

This only forward the setting and can also be used directly as `ADL.XAPIWrapper.changeConfig `

