PUT
/
v1
/
user
curl --request PUT \
  --url https://api.supernotes.app/v1/user \
  --header 'Content-Type: application/json' \
  --data '{
  "bio": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "new_email": "jsmith@example.com",
  "new_username": "<string>",
  "photo": "<string>"
}'
{
  "private_data": {
    "access_level": -1,
    "bio": "<string>",
    "email": "<string>",
    "feature_preview_flags": 123,
    "first_name": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "kind": 0,
    "last_name": "<string>",
    "photo": "<string>",
    "pins": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "pref_flags": 123,
    "prefs": {
      "appearance_mode": -1,
      "couple_key": "<string>",
      "day_theme": 1,
      "indent_type": 0,
      "night_theme": 1,
      "persona": 1,
      "sort_type": 0
    },
    "referral_code": "<string>",
    "status": -2,
    "username": "<string>"
  },
  "public_profile": {
    "bio": "<string>",
    "first_name": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "last_name": "<string>",
    "photo": "<string>",
    "username": "<string>"
  }
}

Authorizations

Api-Key
string
headerrequired

Body

application/json
bio
string | null
first_name
string
required
last_name
string
required
new_email
string
required
new_username
string
required
photo
string | null

Response

200 - application/json
private_data
object
required
public_profile
object
required