Pinter
ENID
Preferences
View as Markdown

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

preferred_namestring | null
personal_instructionstring | null
response_styleenum
concisebalanceddetailedprofessionalfriendly
default_agent_idstring | null
themeenum
systemlightdark
background_presetenum
defaultsoft-gradientgridauroradotsminimal-dotsoceansunsetsolidwarm-gradientcustom
pet_idenum | null
custom_background_urlstring | null
response_bubble_colorstring
response_bubble_opacityinteger
user_bubble_colorstring
user_bubble_opacityinteger
updated_atstring (date-time) | null
{
  "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

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