1. User
Solariance-API-V1
  • Getting Started
  • Authentication
  • Time and intervals
  • Data and resolution
  • Changelog
  • Use Solariance in Claude
  • Forecast
    • forecast/power
      GET
    • forecast/energy
      GET
    • forecast/temperature
      GET
    • forecast/export
      GET
    • forecast/correction-factors
      POST
    • forecast/market
      GET
  • System
    • system/list
      GET
    • system/view
      GET
    • system/create
      POST
    • system/update
      PUT
    • system/delete
      DELETE
    • system/forecast_status
      GET
  • User
    • user/view
      GET
    • user/update
      PUT
  • Measured
    • Measured irradiance (not live yet)
    • measured/irradiance/upload (not live yet)
      POST
    • measured/irradiance: read (not live yet)
      GET
    • measured/irradiance: erase (not live yet)
      DELETE
  • Portfolio
    • portfolio/schedule
      GET
    • portfolio/forecast
      GET
  • Schemas
    • IrradianceUploadRequest
    • IrradianceSeries
    • IrradianceValuePair
    • IrradianceSensor
    • IrradianceUploadResponse
    • IrradianceConflictResponse
    • IrradianceUploadData
    • IrradianceTotals
    • IrradianceSeriesResult
    • IrradianceRejection
    • IrradianceWarning
    • IrradiancePreview
    • IrradianceReadResponse
    • ErrorData
    • IrradianceSensorList
    • IrradianceSensorValues
    • IrradianceSensorView
    • IrradianceRow
    • IrradianceEraseResponse
    • ErrorResponse
Impressum
Datenschutz
  1. User

user/update

PUT
https://api.solariance.de/v1/user/update
Changes the profile of the account the API token belongs to. Send only the fields you want to change; nothing in the body is required.
An API token can change username, firstname, lastname, company, country and language.
Unknown fields are refused with 400 (Invalid field: …), so the email address cannot be changed here. Passwords cannot be changed with an API token either. Change both on your account page at www.solariance.de/user/.
country must be one of the listed names, written exactly as listed (with underscores, e.g. United_Kingdom).
language sets the language of the account's emails: de or en; "" or null lets the country decide again.
user_id must be the token's own account: data.user_id in the answer of system/list.
The answer carries no profile data; read the result with user/view.
Token: a ReadWrite API token. Limit: 30 requests per hour per account. See Authentication for tokens, errors and plans.

Request

Query Params

Header Params

Body Params application/jsonRequired

Example
{
    "firstname": "Max",
    "lastname": "Mustermann",
    "company": "Musterfirma GmbH",
    "country": "Germany",
    "language": "en"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.solariance.de/v1/user/update?user_id=a1b2c3d4e5f6g7h' \
--header 'Authorization: Bearer <API token>' \
--header 'Content-Type: application/json' \
--data '{
    "firstname": "Max",
    "lastname": "Mustermann",
    "company": "Musterfirma GmbH",
    "country": "Germany",
    "language": "en"
}'

Responses

🟢200Success
application/json
The profile was changed. data is empty.
Bodyapplication/json

Example
{
    "code": 200,
    "message": "Update user a1b2c3d4e5f6g7h successful",
    "data": {}
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
🔴503Service Unavailable
Modified at 2026-11-19 00:45:59
Previous
user/view
Next
Measured irradiance (not live yet)
Built with