I am trying to see if I can use the API call to replace usernames via Postman and my local Nutmeg Environment, running with Tutor.
I was told in the OpenEdx slack channel that calling this specific API:
/api/user/v1/accounts/replace_usernames/, would only work if called by a user with the username: USERNAME_REPLACEMENT_WORKER. I made a new superuser with that username and set them as a user on the django application and obtained a JWT with that user and then verified that the user was the one making API calls by requesting
/api/user/v1/me to retrieve the username.
I am still receiving the error of:
"detail": "Authentication credentials were not provided." when trying to call
/api/user/v1/accounts/replace_usernames/. I am passing a JSON format object in the body which matches the schema mentioned in the API docs for this call. What else could I be missing?