Assign the owner of a branch
Omit user_id to take ownership as the calling user; naming another user requires project admin. Taking ownership is not open either: a branch whose author (its owner, or its creator for rows predating ownership) can still act on it changes hands only by admin assignment, while one whose author has been deactivated or has lost access to the project stays claimable by any editor. A non-admin outside a branch’s editor groups cannot become its owner. An admin supersedes both rules. Base/master has no branch row and is rejected.
Authorizations
Headers
Workspace identifier
Path Parameters
Project UUID, not a slug. Resolve a slug with GET /project/slug/{slug} using the same workspace and credentials, then pass the returned id.
Body
User to make the branch owner. Omit to take ownership as the caller; naming another user requires project admin.