Users
add user
POST
https://ushahididocs.api.ushahidi.io/api/v3/users
Request Body
Name | Type | Description |
---|---|---|
String | The user's email address | |
failed_attempts | Integer | Number of failed attempts |
logins | integer | Number of login attempts |
realname | String | The user's real name |
password | String | The user's password |
last_attempt | String | Date of previous login attempt |
last_login | String | Last login date |
gravatar | String | The user's gravatar |
role | String | user's roleString |
edit user
PUT
https://ushahididocs.api.ushahidi.io/api/v3/users/1
Request Body
Name | Type | Description |
---|---|---|
String | The user's email address | |
failed_attempts | Integer | Number of failed attempts |
logins | integer | Number of login attempts |
realname | String | The user's real name |
password | String | The user's password |
last_attempt | String | Date of previous login attempt |
last_login | String | Last login date |
gravatar | String | The user's gravatar |
role | String | user's roleString |
edit admin user
PUT
https://ushahididocs.api.ushahidi.io/api/v3/users/me
Request Body
Name | Type | Description |
---|---|---|
String | The user's email address | |
failed_attempts | Integer | Number of failed attempts |
logins | integer | Number of login attempts |
realname | String | The user's real name |
password | String | The user's password |
last_attempt | String | Date of previous login attempt |
last_login | String | Last login date |
gravatar | String | The user's gravatar |
role | String | user's roleString |