curl --request PATCH \
--url http://localhost:8091/api/users/me/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>"
}
'{
"data": {
"id": "<string>",
"username": "<string>",
"displayName": "<string>",
"status": "<string>",
"bot": true,
"createdAt": "2023-11-07T05:31:56Z",
"avatarPath": "<string>"
}
}Updates the authenticated user’s profile. Currently only display name can be changed.
curl --request PATCH \
--url http://localhost:8091/api/users/me/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>"
}
'{
"data": {
"id": "<string>",
"username": "<string>",
"displayName": "<string>",
"status": "<string>",
"bot": true,
"createdAt": "2023-11-07T05:31:56Z",
"avatarPath": "<string>"
}
}