Skip to content

Update the current user's display name and email

PUT
/me
curl --request PUT \
--url https://your-server.example/api/me \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "display_name": "example", "email": "hello@example.com" }'
Media typeapplication/json
object
display_name
string
email
string format: email

Example generated

{
"display_name": "example",
"email": "hello@example.com"
}

Updated.

Media typeapplication/json
object
status
string

Example

{
"status": "ok"
}