Skip to main content
PUT
/
api
/
user
/
self
Update Current User Profile
curl --request PUT \
  --url https://api.ldx.dev/api/user/self \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "display_name": "<string>",
  "password": "<string>",
  "original_password": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
display_name
string
password
string
original_password
string

Response

200

Success