# config\_delete

Source: https://zotonic.com/docs/1722/config_delete

URI: https://zotonic.com/id/1722

Language: en



Trigger the deletion of a configuration value. Used in the admin.

Arguments:

- `module` and `key` identify the configuration entry.
- `on_success` can be repeated to run actions after deletion.

The deletion is performed only for an editable administrator. This action does not ask for confirmation; use `dialog_config_delete` for a user-facing delete control.

```django
{% wire id="delete-config" action={config_delete module="mod_example" key="enabled" on_success={reload}} %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1722?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1722?language=en>)
