updated docs for default values

This commit is contained in:
Andris Reinman 2021-09-05 15:38:48 +03:00
parent d11bef18a4
commit 0b5508afc0
3 changed files with 12 additions and 0 deletions

View file

@ -17,6 +17,7 @@
- [Third party projects](additional-software/third-party-projects.md) - [Third party projects](additional-software/third-party-projects.md)
- In Depth - In Depth
- [Operating WildDuck](in-depth/operating-wildduck.md) - [Operating WildDuck](in-depth/operating-wildduck.md)
- [Default values](in-depth/default-values.md)
- [E-Mail Protocol support](in-depth/protocol-support.md) - [E-Mail Protocol support](in-depth/protocol-support.md)
- [ACME certificates](in-depth/acme-certificates.md) - [ACME certificates](in-depth/acme-certificates.md)
- [Security implementation](in-depth/security.md) - [Security implementation](in-depth/security.md)

View file

@ -0,0 +1,11 @@
# Default values
You can set system wide defaults using either the [Settings API endpoints](https://docs.wildduck.email/api/#tag/Settings) or by using the built in API client for system settings.
You can find the client from API path _/public/config.html_, eg. if your API is runnin gon port 8080 then the URL should be http://127.0.0.1:8080/public/config.html
If your API is configured to require authentication, then you need to provide either a _root_ token or a _settings_-role token. Otherwise you can leave the access token field empty.
![Defaults Screenshot](img/defaults.png)
**NB!** while the API endpoints only take milliseconds and byte values for duration and size key values, then the web based client allows to use human readable numbers, so you can use _30d_ instead of _2592000000_.

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB