User Management
Update the current user profile
Changed onUpdate the current user profile. <br> See the full description of updatable fields with the schema <strong>UpdateUserProfile</strong>
put/pimcore-studio/api/user/update-profile
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/user/update-profile
- Auth: none declared
Request body
Example request
{
"language": "de",
"welcomeScreen": true,
"memorizeTabs": true,
"keyBindings": [
{
"action": "save"
}
],
"theme": "default"
}Response
Successfully updated user profile
Example response
{
"id": 1,
"username": "admin",
"permissions": [
"clear_cache"
],
"language": "en",
"theme": "default",
"welcomeScreen": true,
"memorizeTabs": true,
"allowDirtyClose": true,
"hasImage": true,
"allowedLanguagesForEditingWebsiteTranslations": [
"de",
"en"
],
"allowedLanguagesForViewingWebsiteTranslations": [
"de",
"en"
],
"keyBindings": [
{
"action": "save"
}
],
"twoFactorAuthentication": {
"required": true,
"enabled": true,
"type": "totp",
"active": true
},
"activePerspective": "studio_default_perspective",
"perspectives": [
{
"id": "5026c239_eb75_499a_8576_841bca283350",
"name": "Cars",
"icon": {
"type": "path",
"value": "/path/to/icon"
},
"isWriteable": true
}
]
}Changes
- info
added the new optional request property
- info
the request property
became nullable - info
added the required property
to the response with the status
- info