---
title: "Update realtime configuration for a project"
method: PUT
path: "/projects/{id}/realtime/config"
tags: ["Realtime"]
---

# Update realtime configuration for a project

`PUT /projects/{id}/realtime/config`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/realtime/config`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Updates realtime settings including feature toggles and limits.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateRealtimeConfigRequest: Request to update realtime configuration. Limits (message size, channels per connection) are plan-based and cannot be configured.
  - `enabled` boolean: Whether realtime is enabled for this project
  - `broadcast_enabled` boolean: Whether broadcast channels are enabled
  - `presence_enabled` boolean: Whether presence tracking is enabled
  - `postgres_changes_enabled` boolean: Whether Postgres change notifications are enabled

## Response `200`

Updated realtime configuration

- RealtimeConfig: Realtime configuration for a project. Note: Message size and channels per connection are plan-based (not configurable).
  - `project_id` string, uuid: Project ID
  - `enabled` boolean: Whether realtime is enabled for this project
  - `broadcast_enabled` boolean: Whether broadcast channels are enabled
  - `presence_enabled` boolean: Whether presence tracking is enabled
  - `postgres_changes_enabled` boolean: Whether Postgres change notifications are enabled
  - `created_at` string, date-time: When the configuration was created
  - `updated_at` string, date-time: When the configuration was last updated

## Other responses

- `400`: Invalid configuration values
- `401`: Unauthorized

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 5 breaking, 15 info
  - added the new path request parameter `id`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - …16 more
- **2026-08-27** `bb44e98aba2e`: 6 breaking, 14 warning
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - …16 more
- **2026-07-27** `bb52784e098a`: 2 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/realtime/config/put.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
