Find hardware by serial
documentedList hardware assets filtered by serial number.
GET /hardwares.json?serial_number[]={serial}Hardwaresno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.samanage.com/hardwares.json?serial_number[]={{$serial}}" \
-X GET \
-H "X-Samanage-Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/vnd.samanage.v2.1+json" \
-H "Content-Type: application/json"