Update User Profile
Use this API instead:
- /cloudapi/1.0.0/preferences/internal:localLanguage
Access Policy
Role | Access |
---|---|
Platform operator | ✔️ |
Organization Owner | ✔️ |
Organization Member | ✔️ |
Service Account (Whitelisted Client) | ✔️ |
Request
URI
PATCH
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/loggedin/user/profile
COPY
Request Body
UpdateUserProfileRequest
of type(s)
application/json
Required
{
"defaultOrgId": "string",
"locale": "string",
"language": "string",
"preferredTheme": "string",
"metadata": {
"acknowledgeAccountLinkingMessage": 0
}
}
string
defaultOrgId
Optional
Currently one user can belong to exactly one organization.
string
locale
Optional
Preferred user locale.
string
language
Optional
Preferred user language.
string
As ^(Light|Dark)$
preferredTheme
Optional
Preferred user theme.
object
metadata
Optional
User's profile metadata.
Responses
200
OK
Operation doesn't return any data structure
400
Invalid request body.
Operation doesn't return any data structure
401
The user is not authorized to use the API.
Operation doesn't return any data structure
Code Samples
COPY
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'
Deprecated
Principal User Controller Operations
PUT
Update User Preferences
Deprecated
GET
Get Principal User Profile
Deprecated
PATCH
Update User Profile
Deprecated
GET
Get User Orgs
Deprecated
GET
Get Logged In User
Deprecated
GET
Get User Org Service Roles
Deprecated
GET
Get User Org Roles
Deprecated
GET
Get User Org Info
Deprecated
GET
Get Logged In User Groups On Org
Deprecated
GET
Get Logged In User Details
Deprecated
GET
Get User Default Org
Deprecated