> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pyqdeck.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Branches API

> Endpoints for managing academic branches

## Overview

Manage branches (departments) within a university.

## Endpoints

### List Branches

`GET /branches`

* **Query Parameters**:
  * `universityId`: Filter by university
  * `search`: Filter by name

### Create Branch

`POST /branches`

* **Auth**: Required (`admin` or `editor`)

### Update Branch

`PATCH /branches/:id`

* **Auth**: Required (`admin` or `editor`)

### Delete Branch

`DELETE /branches/:id`

* **Auth**: Required (`admin`)
