Update User Profile

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.

Authentication
This operation uses the following authentication methods.
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 '{}'