KindeK
Kinde2y ago
IkiTg07

update user email in code

Is there a way to use Kinde Management API to update the user's email ?
I can update the given and family name doing so :
      const client = await createKindeManagementAPIClient();

      client.usersApi.updateUser({
        id: ctx.userId,
        updateUserRequest: {
          familyName: input.family_name,
          givenName: input.given_name,
        },
      });


But i need to be able to update it's email in Kinde as well
Was this page helpful?