{% extends "docs/base.html" %} {% block docs_content %}

List branch protections

Fetch paginated branch protections for a repository.

Endpoints

GET /api/v1/teams/{team_slug}/repos/{repo_slug}/protections
GET /api/v1/users/{username}/repos/{repo_slug}/protections
Authenticated

Success

Returns JSON response.

{% endblock %}