Related Discovery: https://openedx.atlassian.net/wiki/spaces/OEPM/pages/6060310529/Spike+-+M2+-+Endpoints+for+new+Admin+Console+designs
During the role assignment flow, we need a way to validate a list of usernames or emails to see if the users exist and are active.
First, research if there is already an endpoint that we can use for this, if so, use that instead.
If there is none, implement it.
Spec:
POST /api/authz/v1/users/validate
- Body params (json):
- users: Array of strings containing usernames or emails to validate
- Only users with manage permissions can call this endpoint.