From 62337a564177365a3efac1a049225293d04466d3 Mon Sep 17 00:00:00 2001 From: Sylvain Gaudan Date: Mon, 26 Aug 2024 16:09:40 +0200 Subject: [PATCH] fix add user --- arlas/cli/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arlas/cli/service.py b/arlas/cli/service.py index 85fa353..c09bd97 100644 --- a/arlas/cli/service.py +++ b/arlas/cli/service.py @@ -25,7 +25,7 @@ class Services(Enum): class Service: def create_user(arlas: str, email: str): - return Service.__arlas__(arlas, "/users", post=json.dumps({"email": email}), service=Services.iam) + return Service.__arlas__(arlas, "users", post=json.dumps({"email": email}), service=Services.iam) def delete_user(arlas: str, id: str): return Service.__arlas__(arlas, "/".join(["users", id]), delete=True, service=Services.iam)