--- title: Delete an advanced configuration file from a model slug: l3pa9008 canonical_url: https://docs.coveo.com/en/l3pa9008/ collection: leverage-machine-learning source_format: adoc --- # Delete an advanced configuration file from a model The [Coveo Machine Learning (Coveo ML)](https://docs.coveo.com/en/188/) [Advanced Model Configurations API](https://docs.coveo.com/en/19/api-reference/machine-learning-api#tag/Advanced-Model-Configurations) lets you delete an advanced configuration file attached to a [model](https://docs.coveo.com/en/1012/). . Access the **Advanced Model Configurations** section of the Swagger UI that's associated with your Coveo organization region ([US](https://platform.cloud.coveo.com/docs?urls.primaryName=Machine+Learning#/Advanced%20Model%20Configurations) | [CA](https://platform-ca.cloud.coveo.com/docs?urls.primaryName=Machine+Learning#/Advanced%20Model%20Configurations) | [EU](https://platform-eu.cloud.coveo.com/docs?urls.primaryName=Machine+Learning#/Advanced%20Model%20Configurations) | [AU](https://platform-au.cloud.coveo.com/docs?urls.primaryName=Machine+Learning#/Advanced%20Model%20Configurations)). . Click **Authorize** and authenticate using your Coveo organization account credentials. > **Note** > > The Coveo organization account you use for authentication must have the **Machine learning - Models - Edit** privilege. . Use the `configs/{configurationType}` DELETE operation to delete an advanced configuration file attached to a model: ![Use Swagger UI to delete an advanced configuration file attached to a model | Coveo](https://docs.coveo.com/en/assets/images/leverage-machine-learning/model-advanced-api-swagger-delete.png) .. [Enter the required parameters](#advanced-model-configuration-api-parameters) for the model and configuration type. .. Click **Execute**. The response body shows a list of the advanced configuration files currently used by the [model](https://docs.coveo.com/en/1012/). ## Advanced model configuration API parameters ### `configurationType` (string) - required **Parameter type**: `query` The type of advanced configuration file. Available values are: * [`BLOCKLISTS`](https://docs.coveo.com/en/l3od9093#blocklist) * [`STOPWORDS`](https://docs.coveo.com/en/l3od9093#stop-words) * [`DEFAULT_QUERIES`](https://docs.coveo.com/en/l3od9093#default-queries) * [`ID_MAPPING`](https://docs.coveo.com/en/l3od9093#id-mappings) ### `languageCode` (string) - optional **Parameter type**: `query` The language of the configuration file. It must be an [ISO 639-1 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), or the string `commons`. > **Important** > > For a configuration file that uses the `commons` language value, the queries in that file are automatically added to every other language-specific default queries files in your model. > Languages without a default queries file aren't affected by the `commons` file. > > For example, your [model](https://docs.coveo.com/en/1012/) processes queries in English (`en`), French (`fr`), and Spanish (`es`), but your model includes only `en` and `fr` default queries configuration files. > Uploading a `commons` file will add its list of queries to the `en` and `fr` configuration files, but not to any other language. ### `modelId` (string) - required **Parameter type**: `path` The unique identifier of the target model (see [Review model information](https://docs.coveo.com/en/1894/)). **Example** ```text myOrganization_topclicks_22ec9966_0f8b_4adc_967d_65219552192a ``` ### `organizationId` (string) - required **Parameter type**: `path` The unique identifier of the target Coveo organization (see [Retrieve the organization ID](https://docs.coveo.com/en/148/)). **Example** ```text myorg6j53h4 ```