@marcosm said in pf-sense-api-client:
Are you trying to update it using the index number? If so, try using the name; aliases are now identified by their name rather than the index number.
Yes, I was updating it using its ID number. If I change the ID to the name, I still get the same error.
2025-09-04 16:13:23.000000-04:00 pfnet-controller 2646 WARNING 43643 [x.x.x.x:34302] POST /api/aliases/TEST_API (DONE 1.378ms) ERROR: name missing
2025-09-04 16:13:23.000000-04:00 pfnet-controller 2646 Updating alias name: , ID: 25...
2025-09-04 16:13:23.000000-04:00 pfnet-controller 2646 > {"alias": {"name": "TEST_API"}, "id": "TEST_API"}