Aller au contenu

/api/me/profile

PATCH
/api/me/profile
curl --request PATCH \
--url https://example.com/api/me/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "displayName": "example", "currentPassword": "example", "newPassword": "example" }'
Media type application/json
object
displayName
string
nullable
currentPassword
string
nullable
newPassword
string
nullable
Example generated
{
"displayName": "example",
"currentPassword": "example",
"newPassword": "example"
}

OK