Unable to change default branch

currently unable to change default branch (from master to development) either via UI or via API.
UI

API

still master is the default branch despite 200 status

Gitlab SaaS v.15.3.0

please advise on that issue

Are you still experiencing this issue? I could not reproduce it ad it works in my trials.

hello @abubakar,
yes the issue is still experienced.
The behaviour is captured in the following video

I found 2 issues that might be relevant:

In the issue it’s recommended to delete HEAD branch and I can see you have such branch from the video.