What scope to use?

Hi!

I am trying to creat a pull request via API. I am using Bitbucket app for authentification and I would like to ask you, what scope do I need to allow to be able to create a PR with close_source_branch set to TRUE?

Everytime I am tryign to creat a PR, I get error message:

{“type”: “error”, “error”: {“message”: “You are restricted from closing the source branch.”}}

Thank you for your help!