From fd62e8df6aa7de48990d2d035faf10f0de880399 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 1 Oct 2018 23:05:11 +0300 Subject: [PATCH] Updated REST API Boards (markdown) --- REST-API-Boards.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/REST-API-Boards.md b/REST-API-Boards.md index 82a93a1..0045f6a 100644 --- a/REST-API-Boards.md +++ b/REST-API-Boards.md @@ -3,16 +3,11 @@ curl -H "Authorization: Bearer a6DM_gOPRwBdynfXaGBaiiEwTiAuigR_Fj_81QmNpnf" \ http://localhost:3000/api/users/XQMZgynx9M79qTtQc/boards ``` -## Add user to board -TODO: -``` -curl PUT http://localhost:3000/api/users/XQMZgynx9M79qTtQc/boards .... -``` -## Add user to board -TODO: -``` -curl DELETE http://localhost:3000/api/users/XQMZgynx9M79qTtQc/boards .... -``` + +## Change role of user on board + +[Change Role: admin/normal/nocomments/commentonly](https://github.com/wekan/wekan/wiki/REST-API-Role) + ## The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on. | URL | Requires Admin Auth | HTTP Method |