---
title: "POST /collections/default"
method: POST
path: "/collections/default"
tags: ["collection"]
---

# POST /collections/default

`POST /collections/default`

Set the default version for a collection

## Response `200`

ok

## Other responses

- `400` — error

## Changes

> 53 revisions in range; 2 could not be searched.

- **2025-08-12** `9b34d7c2f707` — 1 info
  - endpoint added
- **2025-06-02** `60812f5416c5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/collections/default/post.md)

---

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