Skip to main content
GET
List branch policies

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

Query Parameters

limit
integer

Page size 1-100. Omit limit and cursor for the complete collection; cursor alone defaults to 20.

Required range: 1 <= x <= 100
Example:

20

cursor
string

Opaque continuation bound to collection, project, branch, principal, filters and page size.

Required string length: 1 - 4096
enabled_only
enum<string>

Return only enabled branch protection policies when true.

Available options:
true,
false
Example:

"true"

Response

List of branch policies

data
object[]
required
page_info
object