Change primary email address via API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

The admin UI allows replacement of the primary email address and moving the existing email address to the secondary email address's spot. But users aren't able to leverage to use the API for similar changes, preventing them from doing changes in bulk for their instances.

Edited by 🤖 GitLab Bot 🤖