Can I use "Update branch protection" API to create new protection for some branchs apply branch name pattern

Can I use branch name patern in branch feild? Description says it can be branch+ parameter , is there any examples?

Parameters

@k19810703 Welcome to GitHub community :wave: :wave:

I am not sure you can achieve it using REST V3 API but still it can be done using GraphQL V4.

See below for Query

Output

Before

After