# Reset Preferences

`POST /api/governance/preferences/reset`

### Overview
Endpoint for reset preferences.

### Requirements
- **Header**: `API-Version: 1`
- **Authentication**: `Authorization: Bearer <token>` (if protected)

## Responses

### 200 — Successful Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `preferred_name` | string \| null | no |  |
| `personal_instruction` | string \| null | no |  |
| `response_style` | enum | no |  |
| `default_agent_id` | string \| null | no |  |
| `theme` | enum | no |  |
| `background_preset` | enum | no |  |
| `pet_id` | enum \| null | no |  |
| `custom_background_url` | string \| null | no |  |
| `response_bubble_color` | string | no |  |
| `response_bubble_opacity` | integer | no |  |
| `user_bubble_color` | string | no |  |
| `user_bubble_opacity` | integer | no |  |
| `updated_at` | string (date-time) \| null | no |  |

```json
{
  "preferred_name": "string",
  "personal_instruction": "string",
  "response_style": "balanced",
  "default_agent_id": "string",
  "theme": "system",
  "background_preset": "default",
  "pet_id": "capybara",
  "custom_background_url": "string",
  "response_bubble_color": "#2563eb",
  "response_bubble_opacity": 0,
  "user_bubble_color": "#2563eb",
  "user_bubble_opacity": 100,
  "updated_at": "2026-01-01T00:00:00Z"
}
```

### 400 — Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

### 401 — Unauthorized - Missing, invalid, or expired JWT Bearer token.

### 403 — Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

### 404 — Not Found - The requested resource ID was not found.

### 422 — Unprocessable Entity - Schema validation failed for request payload or parameters.

## Example

```bash
curl -X POST "$PINTER_URL/api/governance/preferences/reset" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```
