put
https://sandbox-api.softpoint.io/interface//locations//users/94
Update User
The API allows updating information for a specific user, whereby only the fields that have been edited will be overwritten.
Parameters
Query Parameters
| Parameter | Required/Optional | Type | Description |
|---|---|---|---|
| user_id | Required | number | Current User ID |
| location_id | Required | number | Current Location ID |
* Bold Parameters are required fields
Body Parameters
| Parameter | Required/Optional | Type | Description |
|---|---|---|---|
| first_name | Optional | string | User First Name |
| last_name | Optional | string | User Last Name |
| Optional | string | User email | |
| phone | Optional | number | User Phone number 10 digits |
| role_id | Optional | number | 1 location 2 admin 3 owner |
* Bold Parameters are required fields
