POST /auth
Name | Type | Description |
---|---|---|
Authorization | String | Basic authorization with email and password. |
Name | Type | Description |
---|---|---|
access_token | String | Master access_token. |
POST /password-resets
Name | Type | Description |
---|---|---|
String | Email address to receive the password reset token. |
|
link | String | Link to redirect user. |
PUT /password-resets/:token
Name | Type | Description |
---|---|---|
password | String | User's new password. |
GET /password-resets/:token
POST /users
Name | Type | Description |
---|---|---|
access_token | String | Master access_token. |
String | User's email. |
|
password | String | User's password. |
name | String | optional User's name. |
picture | String | optional User's picture. |
role | String | optional User's role. |
DELETE /users/:id
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
GET /users/me
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
GET /users/:id
GET /users
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
q | String | optional Query to search. |
page | Number | optional Page number. |
limit | Number | optional Amount of returned items. |
sort | String[] | optional Order of returned items. |
fields | String[] | optional Fields to be returned. |
PUT /users/:id/password
Name | Type | Description |
---|---|---|
Authorization | String | Basic authorization with email and password. |
Name | Type | Description |
---|---|---|
password | String | User's new password. |
PUT /users/:id
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
name | String | optional User's name. |
picture | String | optional User's picture. |