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
Is your feature request related to a problem? Please describe.
Hello,
I've been writing some automation for SnipeIT in our company and would like to be able to upload license files through the API.
I've been trying a couple of variations as documented in the API support page, without success.
The code gives me back a positive response saying the license has been updated but the file isn't uploaded. Uploading it manually in the portal works without issue (it's an XML file). Is this a feature that is currently supported or not?
Thanks,
Describe the solution you'd like
I would like to be able to upload License Files through the API for automation purposes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
What endpoint are you using? We generally don't allow file uploads via API, since it makes it much harder for us to validate file types and make sure nothing malicious is being uploaded since we have to first store the binary data, then do a bunch of validation on the temp file on the server.
I've tried both adding them with the POST method on license creation on the "MyEndpoint/licenses" endpoint and using the PUT/PATCH Method on existing licenses using the "MyEndpoint/Licenses/id" endpoint. I didn't see any parameters included in the API documentation to upload a file, so it's very well possible i'm not using the correct code to upload the license. Just wanted to check if this feature is supported or not.
Is your feature request related to a problem? Please describe.
Hello,
I've been writing some automation for SnipeIT in our company and would like to be able to upload license files through the API.
I've been trying a couple of variations as documented in the API support page, without success.
The code gives me back a positive response saying the license has been updated but the file isn't uploaded. Uploading it manually in the portal works without issue (it's an XML file). Is this a feature that is currently supported or not?
Thanks,
Describe the solution you'd like
I would like to be able to upload License Files through the API for automation purposes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: