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.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
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"}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
Updates a non-owner member's role. Only owners may promote another member to owner, retaining their own ownership. Owners and admins may assign other roles; doctor is clinic-only.