In the UI my users are _absolutely_ assigned computers, yet they do not appear in my API response. This shouldn't be a permissions thing. I'm very confused. Anyone seen this before?
Solved
Classic API --- "users/user/links/computers/" Returns Blank

Best answer by AntMac
Making an assumption that you are developing a script to call the assigned computer per user?
I'd suggest reviewing your path syntax to get a name or ID you'd need to go down to the next tag level. Example below shows xpath usage which will 100% return the name of the computer assigned to the username being filtered on. You can also use text() to strip out the meta tags and just have the data. Hope this helps.
curl -s -k -H "Authorization: Bearer $bearerToken" -H "content-type: text/xml" -X GET "$url/JSSResource/users/name/username" | xmllint --xpath '/user/links/computers/computer/name' -
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.