[PR #6516] [MERGED] docs: update endpoints docs that require session #32322

Closed
opened 2026-04-17 23:09:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6516
Author: @jonathansamines
Created: 12/4/2025
Status: Merged
Merged: 12/4/2025
Merged by: @himself65

Base: canaryHead: docs/mark-endpoints-required


📝 Commits (1)

  • 5fd8070 docs: update endpoints docs that require session

📊 Changes

1 file changed (+14 additions, -14 deletions)

View changed files

📝 docs/content/docs/plugins/organization.mdx (+14 -14)

📄 Description

Closes https://github.com/better-auth/better-auth/issues/6512

Summary by cubic

Marked organization and team endpoints as session-required in the docs by adding requireSession to APIMethod blocks (set-active org, invitations, members, teams). This clarifies authentication requirements and aligns the docs with actual API behavior.

Written for commit 5fd8070f01. Summary will update automatically on new commits.


🔄 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/6516 **Author:** [@jonathansamines](https://github.com/jonathansamines) **Created:** 12/4/2025 **Status:** ✅ Merged **Merged:** 12/4/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/mark-endpoints-required` --- ### 📝 Commits (1) - [`5fd8070`](https://github.com/better-auth/better-auth/commit/5fd8070f01826d881913f016ca480014992a4d0d) docs: update endpoints docs that require session ### 📊 Changes **1 file changed** (+14 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/organization.mdx` (+14 -14) </details> ### 📄 Description Closes https://github.com/better-auth/better-auth/issues/6512 <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Marked organization and team endpoints as session-required in the docs by adding requireSession to APIMethod blocks (set-active org, invitations, members, teams). This clarifies authentication requirements and aligns the docs with actual API behavior. <sup>Written for commit 5fd8070f01826d881913f016ca480014992a4d0d. Summary will update automatically on new commits.</sup> <!-- 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-04-17 23:09:57 -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#32322