compliance api will likely change, so filing this so it would show up in google in case anyone hits this issue.
doc: https://docs.chef.io/api_compliance.html#id24
BUG:
POST should not have {} around member list.
curl -X POST "$API_URL/orgs/acme/teams/TEAM_ID/members"
-H "Content-Type: application/json" -H "$AUTH" -d '{["bob"]}'
Should instead be:
curl -X POST "$API_URL/orgs/acme/teams/TEAM_ID/members"
-H "Content-Type: application/json" -H "$AUTH" -d '["bob"]'