Approve device
documentedApprove a device that is pending approval.
POST /organizations/{org_id}/devices/{device_id}/approveDevicesno 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.devicemagic.com/organizations/{{$org_id}}/devices/{{$device_id}}/approve" \
-X POST \
-H "Accept: application/json" \
-H "Authorization: Basic {{$devicemagic_secret}}" \
-H "Content-Type: application/json"