Edit Single User in Phin Api Route
This route is used to edit a single user under a company in Phin.
User Attribute Reference
| Field Name | Description | Value Type |
| first | First name | String |
| last | Last name | String |
| String | ||
| deptid | Department ID | String |
| deptname | Department Name | String |
| supvemail | Supervisor Email | String |
| supvname | Supervisor Name | String |
| emplid | Employee ID | String |
| title | Employee Title | String |
| ophone | Office Phone Number | String |
| phone | Phone number | String |
Response Reference
| Field | Type | Example |
|---|---|---|
| Body | JSON |
{ success: true }
|
Response Sample
{ success: true }
Error Reference
| Code | Message | Explanation | |
|---|---|---|---|
| 200 |
{ success: true }
|
The user was successfully edited with the fields sent. | |
| 400 |
{ error: 'Bad Request, ...' }
|
The user was not edited. The request had bad information. | |
| 500 |
Failed to edit users. Please try again or contact Phin Support for assistance.
|
Something went wrong editing the users. Try again later or contact Phin. |
Additional Notes:
It is not possible to modify externally synced users (Azure/Google sync) because they are controlled by their respective systems.