diff --git a/REST-API.md b/REST-API.md index 8d03108..f119b47 100644 --- a/REST-API.md +++ b/REST-API.md @@ -21,17 +21,17 @@ When calling a production Wekan server, ensure it is running via HTTPS and has a | `/users/login` | [Authenticate with the REST API.](#login) | ### Users -| Url | Short Description | -| :--- | :--- | -| `/users/register` | [Register a new user.](#user-register) | -| `/api/users` | [Create a new user.](#user-create) | -| `/api/users/:id` | [Disable an existing user.](#disable-a-user-the-user-is-not-allowed-to-login-and-his-login-tokens-are-purged) | -| `/api/users/:id` | [Enable an existing user.](#enable-a-user) | -| `/api/users/:id` | [Admin takes the ownership.](#the-admin-takes-the-ownership-of-all-boards-of-the-user-archived-and-not-archived-where-the-user-is-admin-on) | -| `/api/users/:id` | [Delete an existing user.](#user-delete) ([Warning](https://github.com/wekan/wekan/issues/1289))| -| `/api/users/:id` | [Gets a user's information.](#user-information) | -| `/api/users` | [All of the users.](#user-list) | -| `/api/user` | [Gets a logged-in user.](#user-logged-in) | +| HTTP Method | Url | Short Description | +| :--- | :--- | :--- | +| `POST` | `/users/register` | [Register a new user.](#user-register) | +| `POST` | `/api/users` | [Create a new user.](#user-create) | +| `PUT` | `/api/users/:id` | [Disable an existing user.](#disable-a-user-the-user-is-not-allowed-to-login-and-his-login-tokens-are-purged) | +| `PUT` | `/api/users/:id` | [Enable an existing user.](#enable-a-user) | +| `PUT` | `/api/users/:id` | [Admin takes the ownership.](#the-admin-takes-the-ownership-of-all-boards-of-the-user-archived-and-not-archived-where-the-user-is-admin-on) | +| `DELETE` | `/api/users/:id` | [Delete an existing user.](#user-delete) ([Warning](https://github.com/wekan/wekan/issues/1289))| +| `GET` | `/api/users/:id` | [Gets a user's information.](#user-information) | +| `GET` | `/api/users` | [All of the users.](#user-list) | +| `GET` | `/api/user` | [Gets a logged-in user.](#user-logged-in) | ---