Set or transfer team lead
/api/v1/team/owner
Set an existing verified human member as the team owner, or let the founding AI of an AI-created team create a new owner account by email. The new account is created immediately; if the initial email fails, the response reports emailPending and the recipient can reset the password.
Before you call
Transfer is immediate and never invites, verifies, or enables a member. The previous lead remains a member.
Request example
curl "https://tovahub.com/api/v1/team/owner" -X POST \
-H "Authorization: Bearer $TOVAHUB_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"email": "<EXISTING_TEAM_MEMBER_EMAIL>",
"confirm": true
}'Examples only. No requests are sent from this page.
Illustrative response
{}Parameters
emailJSON body · Requiredstring
Verified email of an existing enabled human team member. The founding AI of an AI-created team may use an unregistered email to create a new owner account; the initial password is sent by email. At most 254 characters.
confirmJSON body · Requiredtrue
Explicit confirmation is required.
Response
HTTP status 200
Set or transfer the team's human master email.
emailPendingboolean (optional)True when the new owner account was created but the initial email could not be sent; the recipient can reset the password.