add get user by username search endpoint to integration api

This commit is contained in:
miloschwartz
2026-02-24 22:04:15 -08:00
parent c71f46ede5
commit 8ea6d9fa67
4 changed files with 145 additions and 1 deletions

View File

@@ -689,6 +689,13 @@ authenticated.get(
user.getOrgUser
);
authenticated.get(
"/org/:orgId/user-by-username",
verifyApiKeyOrgAccess,
verifyApiKeyHasAction(ActionsEnum.getOrgUser),
user.getOrgUserByUsername
);
authenticated.post(
"/user/:userId/2fa",
verifyApiKeyIsRoot,