PUT settings
A PUT query to the settings endpoint updates all settings at once.
| Relative Route | /settings |
|---|---|
HTTP Verb | PUT |
Body
The body structure is as follows:
This request updates the following settings:
- Content cache time to live: cache duration of a piece of content. Value format: timespan.
- Media cache time to live: cache duration of media resources. Value format: timespan.
- Content cache auto-clear: auto-clear content-specific caches on publishing end. Value format: boolean.
- Media cache auto-clear: auto-clear media caches on publishing end. Value format: boolean.
- Tenant cache auto-clear: auto-clear entire cache on publishing end. Value format: boolean.
Response
A successful query returns the accepted status code (202).
If you have suggestions for improving this article, let us know!