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

Authorizations

Api-Key
string
headerrequired

Body

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

Response

200 - application/json
private_data
object
required
public_profile
object
required