• Parameters

    • connectionOptions: {
          apiUrl: string;
          headers: Object;
      }
      • apiUrl: string

        Target annotation database API URL

      • headers: Object

        Headers responsible for authenticating the request and the Hypothes.is Accept header

    • username: string

      username of the user to update

    • updatedUser: {
          display_name?: null | string;
          email?: string;
      }

      Updated user

      • Optional display_name?: null | string
      • Optional email?: string

    Returns Promise<User>

Generated using TypeDoc