owner role and you become an admin.
Transfer ownership before deleting your account if you are the only owner of an active organization.
Authentication
- Authorization:
Bearer <token>
Path Parameters
Request Body
Example Request
Example Response
Returns the organization details (same shape as Get Organization). Status:200 OK.
Webhooks
Twomember.role_updated events are sent: one for the new owner (newRole: "owner") and one for the previous owner (newRole: "admin").
Common Errors
403 Forbidden
Only the owner can transfer the organization, or the organization is closed.404 Not Found
The target user is not a member of the organization.422 CANNOT_TRANSFER_TO_SELF
newOwnerUserId is your own user ID. Choose another member.