From cc2827af135b354afa165cdf83bc51190815b58b Mon Sep 17 00:00:00 2001 From: CasVT Date: Sat, 17 May 2025 17:59:32 +0000 Subject: [PATCH] Updated API docs --- docs/src/other_docs/api.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/src/other_docs/api.md b/docs/src/other_docs/api.md index 3938673..4f3e364 100644 --- a/docs/src/other_docs/api.md +++ b/docs/src/other_docs/api.md @@ -794,6 +794,24 @@ Replace `` with the ID of the entry. For example: `/staticreminders/2` | 200 | N/A | Success | | 400 | InvalidKeyValue | The value of a key is invalid | +??? DELETE + + Reset the value of setting keys + + **Parameters (body)** + + | Name | Required | Data type | Description | Allowed values | + | ---- | -------- | --------- | ----------- | -------------- | + | setting_keys | Yes | list of string | The keys of the settings for which to reset the value | N/A | + + **Returns** + + | Code | Error | Description | + | ---- | ----- | ----------- | + | 200 | N/A | Success | + | 400 | InvalidKeyValue | The value of a key is invalid | + | 400 | KeyNotFound | A key was not found in the input that is required to be given | + ### `/admin/logs` | Requires being logged in | Description |