[PR #4231] [MERGED] chore: user management api additions #4718

Closed
opened 2026-03-17 02:13:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4231
Author: @balub
Created: 8/1/2024
Status: Merged
Merged: 8/5/2024
Merged by: @balub

Base: patchHead: chore/user-management-api-additions


📝 Commits (4)

  • 1caf626 feat: added route to delete users in user management api's
  • 3fb051d chore: added lastLoggedOn and lastActiveOn fields to user response type
  • 5454213 chore: changed return type
  • 7c7a63a chore: changed target to prod for hopp-old-backend service

📊 Changes

3 files changed (+46 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-backend/src/admin/admin.service.ts (+1 -1)
📝 packages/hoppscotch-backend/src/infra-token/infra-token.controller.ts (+30 -0)
📝 packages/hoppscotch-backend/src/infra-token/request-response.dto.ts (+15 -0)

📄 Description

Closes HSB-477

What's changed

In this PR the following were added:

  • Added a new route to delete a given user. DELETE {BASE_URL}/v1/infra/users/{uid}
  • Added 2 new fields lastLoggedOn and lastActiveOn being returned when user info is queried.

Notes to reviewers

Nil


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4231 **Author:** [@balub](https://github.com/balub) **Created:** 8/1/2024 **Status:** ✅ Merged **Merged:** 8/5/2024 **Merged by:** [@balub](https://github.com/balub) **Base:** `patch` ← **Head:** `chore/user-management-api-additions` --- ### 📝 Commits (4) - [`1caf626`](https://github.com/hoppscotch/hoppscotch/commit/1caf6268fdf5c25396da15f3118c5f77b59a096d) feat: added route to delete users in user management api's - [`3fb051d`](https://github.com/hoppscotch/hoppscotch/commit/3fb051d9071e2cc9be02b666d313e428f75f76e3) chore: added lastLoggedOn and lastActiveOn fields to user response type - [`5454213`](https://github.com/hoppscotch/hoppscotch/commit/5454213a16735101a7b1449dac2f3208c83494e9) chore: changed return type - [`7c7a63a`](https://github.com/hoppscotch/hoppscotch/commit/7c7a63a6d97ebece8bc5d6357a794c5bbd93a3cc) chore: changed target to prod for hopp-old-backend service ### 📊 Changes **3 files changed** (+46 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/admin/admin.service.ts` (+1 -1) 📝 `packages/hoppscotch-backend/src/infra-token/infra-token.controller.ts` (+30 -0) 📝 `packages/hoppscotch-backend/src/infra-token/request-response.dto.ts` (+15 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes HSB-477 <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> ### What's changed <!-- Describe point by point the different things you have changed in this PR --> In this PR the following were added: - Added a new route to delete a given user. `DELETE {BASE_URL}/v1/infra/users/{uid}` - Added 2 new fields `lastLoggedOn` and `lastActiveOn` being returned when user info is queried. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> Nil --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:13:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4718
No description provided.