2023-10-31 20:16:51 +03:00
|
|
|
---
|
|
|
|
sidebar_position: 3
|
2023-11-05 02:24:43 +03:00
|
|
|
title: Set a Default Brain
|
2023-10-31 20:16:51 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
To set a brain as the default for the current user, you need to make a POST request to the following endpoint:
|
|
|
|
|
|
|
|
Replace `{brain_id}` with the unique identifier of the brain you want to set as the default.
|
|
|
|
|
|
|
|
### Request Parameters
|
|
|
|
|
|
|
|
You should include the following parameters in the request:
|
|
|
|
|
|
|
|
- **brain_id**: The unique identifier (UUID) of the brain you want to set as the default.
|
|
|
|
|
|
|
|
### Example Request
|
|
|
|
|
|
|
|
```http
|
|
|
|
POST /brains/{brain_id}/default HTTP/1.1
|
|
|
|
Host: your-api-host.com
|
|
|
|
Authorization: Bearer YOUR_ACCESS_TOKEN
|
|
|
|
```
|