---
title: "Updates project's supavisor config"
method: PATCH
path: "/v1/projects/{ref}/config/database/pooler"
tags: ["Database"]
---

# Updates project's supavisor config

`PATCH /v1/projects/{ref}/config/database/pooler`

## Path parameters

- `ref` string, required

## Request body

- UpdateSupavisorConfigBody
  - `default_pool_size` integer, nullable
  - `pool_mode` 'transaction' | 'session' — Dedicated pooler mode for the project

## Response `200`

- UpdateSupavisorConfigResponse
  - `default_pool_size` integer, nullable, required
  - `pool_mode` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded
- `500` — Failed to update project's supavisor config

---

[API](https://skmtc.dev/supabase/apis/management-api.md) · [All operations](https://skmtc.dev/supabase/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/management-api/revisions/a7cb39418064/schema)
