How to create an api key on the admin panel

Putting “system” in the api_username field does get me 422 “unprocessable entity” again.