Questo aiuterà, sì.
Ancora non affronta il problema originale del messaggio fuorviante per gli amministratori.
○ → curl -X POST -H "api-key: $API_KEY" -H 'api-username: michael' https://try.discourse.org/users.json --json "$(jo email=michael+test@contoso.com username=michaeltest password=$PASSWORD active=true approved=true)"
{"success":true,"active":true,"message":"Your account is activated and ready to use."}
○ → curl -X POST -H "api-key: $API_KEY" -H 'api-username: michael' https://try.discourse.org/users.json --json "$(jo email=michael+test2@contoso.com username=michaeltest2 password=$PASSWORD active=true approved=true)"
{"success":true,"active":false,"message":"Your account is activated and ready to use."}
^ sopra è stato creato solo un singolo utente
Sto inferendo che molta offuscazione sia stata inserita nel percorso /users.json per scoraggiare spammer ecc., ma questo sembra rendere le cose difficili anche per gli amministratori. Mi chiedo se dovremmo aggiungere un percorso admin esplicito per separare i due (creazione account normale vs. creazione account admin) che consentirà alla funzione admin di essere non offuscata.