[PR #4846] [MERGED] docs(admin): added missing updateUser api #5610

Closed
opened 2026-03-13 12:29:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4846
Author: @ping-maxwell
Created: 9/23/2025
Status: Merged
Merged: 9/23/2025
Merged by: @himself65

Base: canaryHead: docs/admin-update-user


📝 Commits (1)

  • 922c736 docs(admin): added missing updateUser api

📊 Changes

2 files changed (+38 additions, -0 deletions)

View changed files

📝 docs/content/docs/plugins/admin.mdx (+23 -0)
📝 packages/better-auth/src/plugins/admin/admin.ts (+15 -0)

📄 Description

Summary by cubic

Adds the missing Admin “Update user” API and docs. Exposes POST /admin/update-user (auth.api.adminUpdateUser / authClient.admin.updateUser) to update a user's details with { userId, data }.


🔄 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/better-auth/better-auth/pull/4846 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 9/23/2025 **Status:** ✅ Merged **Merged:** 9/23/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/admin-update-user` --- ### 📝 Commits (1) - [`922c736`](https://github.com/better-auth/better-auth/commit/922c73618be92b63795b496f394219dc4bf074ab) docs(admin): added missing `updateUser` api ### 📊 Changes **2 files changed** (+38 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/admin.mdx` (+23 -0) 📝 `packages/better-auth/src/plugins/admin/admin.ts` (+15 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds the missing Admin “Update user” API and docs. Exposes POST /admin/update-user (auth.api.adminUpdateUser / authClient.admin.updateUser) to update a user's details with { userId, data }. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:29:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5610