Allmine API
User Settings

Update user settings

**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Update user settings. You can update individual fields partially.

PATCH
/api/v1/user-settings

Production uyarisi: Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin.

Update user settings. You can update individual fields partially.

Authorization

JWT-auth
AuthorizationBearer <token>

Paste the JWT access token without the Bearer prefix.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v1/user-settings" \  -H "Content-Type: application/json" \  -d '{    "notifications": true,    "totalMinutesVisibility": true,    "totalFundVisibility": true,    "liveStreamNotifications": true,    "paymentNotifications": true,    "followNotifications": true,    "messageNotifications": true,    "followingActivityNotifications": true,    "preferredLanguage": "en"  }'
{
  "notifications": true,
  "totalMinutesVisibility": true,
  "totalFundVisibility": true,
  "liveStreamNotifications": true,
  "paymentNotifications": true,
  "followNotifications": true,
  "messageNotifications": true,
  "followingActivityNotifications": true,
  "preferredLanguage": "en",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-01T00:00:00.000Z",
  "_id": "507f1f77bcf86cd799439011"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 401,
  "data": null,
  "errors": [
    "Authentication required"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 403,
  "data": null,
  "errors": [
    "Insufficient permissions"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 404,
  "data": null,
  "errors": [
    "Resource not found"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 409,
  "data": null,
  "errors": [
    "Resource already exists or cannot be changed in its current state"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}