From e0076ca8a5985168d0b5ac5ea7ecd7cb4e3496b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Sun, 2 Jul 2017 09:27:37 +0300 Subject: [PATCH] MXS-1220: Fix request methods for user creation The creation of network users and enabling of UNIX accounts documented PUT as the method for enabling them when the commands actually used POST. --- Documentation/REST-API/Resources-User.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/REST-API/Resources-User.md b/Documentation/REST-API/Resources-User.md index a4d0bc991..5c38e8545 100644 --- a/Documentation/REST-API/Resources-User.md +++ b/Documentation/REST-API/Resources-User.md @@ -163,7 +163,7 @@ GET /v1/users Create a new network user. ``` -PUT /v1/users/inet +POST /v1/users/inet ``` The request body must fulfill the following requirements. @@ -201,7 +201,7 @@ This enables an existing UNIX account on the system for administrative operations. ``` -PUT /v1/users/unix +POST /v1/users/unix ``` The request body must fulfill the following requirements.