Transfer organization ownership
Atomically promotes the selected member to owner and demotes the current owner to admin. Only the current owner may transfer ownership.
Atomically promotes the selected member to owner and demotes the current owner to admin. Only the current owner may transfer ownership.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Member ID
Response Body
application/json
curl -X POST "https://example.com/team/members/550e8400-e29b-41d4-a716-446655440000/transfer-ownership"{ "ownerMemberId": "string", "previousOwnerMemberId": "string"}Empty
Empty
Empty
Empty
Send password reset email to team member POST
Triggers a password reset email for the specified team member via Better Auth. Organization owners and admins may send password resets.
Update team member role PATCH
Changes a team member's non-owner role. Organization owners and admins may update roles; doctor is clinic-only. Ownership moves only through the transfer endpoint.