Skip to content

Update user settings

PUT
/v1/user/settings
curl --request PUT \
--url https://api.neuramancer.dev/v1/user/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "lang": "de", "tosAccepted": true }'

Updates the authenticated user’s settings. Requires authentication with settings scope.

Media typeapplication/json

User preference settings.

object
lang

Preferred language code (e.g. ‘de’, ‘en’)

string
Example
de
tosAccepted

Whether the user has accepted the terms of service

boolean

User settings updated successfully

Media typeapplication/json
object
success
boolean
Example
{
"success": true
}

Unauthorized - missing or invalid token, or user lacks settings scope

Media typeapplication/json

Standardized error response following the APIResponse schema.

object
success
required
boolean
message
required
string
Example
{
"success": false,
"message": "Bad request"
}

Internal server error

Media typeapplication/json

Standardized error response following the APIResponse schema.

object
success
required
boolean
message
required
string
Example
{
"success": false,
"message": "Bad request"
}