I'm very new to the work of programming and I am stuck on some code I have written. The code is basically this: I have a CSV of device serial numbers and I want to claim them into our organization. I'm using the Action batches API to do this. When I run the code I have written thus far, I get a 400 response. I'm thinking that my payload is not correct, but it could be anything at this point.
Any help would be appreciated. Thanks.
# Import os to get api key import requests import json import os import csv