about summary refs log tree commit diff
path: root/gn_auth
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authorisation/users/views.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gn_auth/auth/authorisation/users/views.py b/gn_auth/auth/authorisation/users/views.py
index a706067..da30c04 100644
--- a/gn_auth/auth/authorisation/users/views.py
+++ b/gn_auth/auth/authorisation/users/views.py
@@ -749,3 +749,9 @@ def delete_users():
             else ("The selected users are system administrators, group "
                   "members, or resource owners."))
     }), 400
+
+
+@users.route("/create", methods=["POST"])
+def create_new_user() -> Response:
+    """Create a new User."""
+    return jsonify({})