Preferences
Reset Preferences
POST
/api/governance/preferences/resetOverview
Endpoint for reset preferences.
Requirements
- Header:
API-Version: 1 - Authentication:
Authorization: Bearer <token>(if protected)
Respons
200 Successful Response
preferred_namestring | nullpersonal_instructionstring | nullresponse_styleenumconcisebalanceddetailedprofessionalfriendlydefault_agent_idstring | nullthemeenumsystemlightdarkbackground_presetenumdefaultsoft-gradientgridauroradotsminimal-dotsoceansunsetsolidwarm-gradientcustompet_idenum | nullcustom_background_urlstring | nullresponse_bubble_colorstringresponse_bubble_opacityintegeruser_bubble_colorstringuser_bubble_opacityintegerupdated_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.
Contoh
curl -X POST "$PINTER_URL/api/governance/preferences/reset" \
-H "Authorization: Bearer $ACCESS_TOKEN"