Forum Discussion
2 Replies
Sort By
- jamesramsdenContributor II
/api/device?limit=100&organization=XX
Python example:
import requests
url = "https://XYZ/api/device?limit=100&organization=XX"
payload = {}
headers = {
'Pragma': 'no-cache',
'Accept': 'application/json',
'Cache-Control': 'no-cache',
'Authorization': 'Basic XYZ'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
- SaraLeslieAdmin
Community Manager
Hello SK can you let us know if jamesramsden 's solution helped solve your question? If so, please take a minute to mark his response as the solution. Thank you, Sara