summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-14 19:23:45 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-14 19:23:45 +1100
commitc93f27f5149564ffa42a892bb1a6f7dc59db616a (patch)
tree7c369a8b88c4340d98ed15b0a6e0b69472d4a08f
parentAdd /users/:id/delete (#926) (diff)
downloadserver-c93f27f5149564ffa42a892bb1a6f7dc59db616a.tar.xz
Update openapi
-rw-r--r--assets/openapi.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/assets/openapi.json b/assets/openapi.json
index e1d5cfa4..42a64baf 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -6813,6 +6813,43 @@
                     "-"
                 ]
             }
+        },
+        "/users/": {
+            "get": {
+                "x-right-required": "MANAGE_USERS",
+                "security": [
+                    {
+                        "bearer": true
+                    }
+                ],
+                "tags": [
+                    "users"
+                ]
+            }
+        },
+        "/users/{id}/delete/": {
+            "post": {
+                "x-right-required": "MANAGE_USERS",
+                "security": [
+                    {
+                        "bearer": true
+                    }
+                ],
+                "parameters": [
+                    {
+                        "name": "id",
+                        "in": "path",
+                        "required": true,
+                        "schema": {
+                            "type": "string"
+                        },
+                        "description": "id"
+                    }
+                ],
+                "tags": [
+                    "users"
+                ]
+            }
         }
     }
 }
\ No newline at end of file