parent
51300d9b2a
commit
956e914307
|
@ -220,6 +220,7 @@ Parameters:
|
||||||
- `bio` - User's biography
|
- `bio` - User's biography
|
||||||
- `admin` (optional) - User is admin - true or false (default)
|
- `admin` (optional) - User is admin - true or false (default)
|
||||||
- `can_create_group` (optional) - User can create groups - true or false
|
- `can_create_group` (optional) - User can create groups - true or false
|
||||||
|
- `external` (optional) - Flags the user as external - true or false(default)
|
||||||
|
|
||||||
Note, at the moment this method does only return a 404 error,
|
Note, at the moment this method does only return a 404 error,
|
||||||
even in cases where a 409 (Conflict) would be more appropriate,
|
even in cases where a 409 (Conflict) would be more appropriate,
|
||||||
|
|
|
@ -61,7 +61,7 @@ module API
|
||||||
# admin - User is admin - true or false (default)
|
# admin - User is admin - true or false (default)
|
||||||
# can_create_group - User can create groups - true or false
|
# can_create_group - User can create groups - true or false
|
||||||
# confirm - Require user confirmation - true (default) or false
|
# confirm - Require user confirmation - true (default) or false
|
||||||
# external - Is user an external user - true or false(default)
|
# external - Flags the user as external - true or false(default)
|
||||||
# Example Request:
|
# Example Request:
|
||||||
# POST /users
|
# POST /users
|
||||||
post do
|
post do
|
||||||
|
@ -108,7 +108,7 @@ module API
|
||||||
# bio - Bio
|
# bio - Bio
|
||||||
# admin - User is admin - true or false (default)
|
# admin - User is admin - true or false (default)
|
||||||
# can_create_group - User can create groups - true or false
|
# can_create_group - User can create groups - true or false
|
||||||
# external - Is user an external user - true or false(default)
|
# external - Flags the user as external - true or false(default)
|
||||||
# Example Request:
|
# Example Request:
|
||||||
# PUT /users/:id
|
# PUT /users/:id
|
||||||
put ":id" do
|
put ":id" do
|
||||||
|
|
Loading…
Reference in New Issue