You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a script that utilizes the Snipe IT API, specifically /users/:id to update a user's department_id and company_id fields. When sending a HTTP PATCH for this userID it updates the fields as I would expect, but it also removes the user from all groups inside the Snipe IT application. This caused me to lock out a bunch of our IT staff from checking out/managing assets until I realized what was going on.
As far as I can see this is not documented on the API reference, is this a bug or intended?
Please confirm you have done the following before posting your bug report:
Describe the bug
I have a script that utilizes the Snipe IT API, specifically /users/:id to update a user's department_id and company_id fields. When sending a HTTP PATCH for this userID it updates the fields as I would expect, but it also removes the user from all groups inside the Snipe IT application. This caused me to lock out a bunch of our IT staff from checking out/managing assets until I realized what was going on.
As far as I can see this is not documented on the API reference, is this a bug or intended?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only update the fields that are passed in the body of the PATCH request.
Screenshots
N/A
Server (please complete the following information):
Desktop (please complete the following information):
Error Messages
No errors.
Additional context
Not related to install/upgrade.
Ubuntu - Apache
Git
N/A
No
The text was updated successfully, but these errors were encountered: