I'm currently trying to use the Bitbucket Cloud API to see if a particular branch is protected against deletion. At the moment I have to do this by hitting the "branch-restrictions" endpoint to identify if a branch has protection, but this is problematic because I'd rather not require users to have the "repository:admin" scope for their Oauth applications. I know Bitbucket Server has a "dryRun" parameter for the branch delete endpoint, but I don't think Bitbucket Cloud has anything like that. Before I decide to change my approach, I wanted to see if I'm possibly missing something in the API and maybe there is an easier way to check.