webapp-users

Update user profile of user specified by userId

Only profile owner or domain admin is allowed to update user profiles. Steps:

  1. GET the account settings of the user.

  2. Remove all keywords from the returned JSON except for firstName and lastName.

  3. Add the authenticationModes keyword. You can specify SSO, PASSWORD, or both.

  4. Add the ssoProvider keyword. You can specify one or multiple SSO providers. To add multiple SSO providers to the user, specify a comma-separated list of SSO providers. For example, "ssoProvider": "sso_provider_1, sso_provider_2".

  5. Execute a PUT to modify the authentication settings for the user.

put/gdc/account/profile/{userId}

Request

  • Base URL
    https://secure.gooddata.com
  • Auth
    none declared

Path parameters

userIdstring required

Request body

Example request

{
  "accountSetting": {
    "login": "user@example.com",
    "email": "user@example.com",
    "firstName": "First Name",
    "lastName": "Last Name",
    "companyName": "Company Name",
    "position": "Data Analyst",
    "created": "2020-01-08 15:44:23",
    "updated": "2020-01-08 15:44:23",
    "timezone": 100,
    "timezoneName": "Europe/Prague",
    "country": "United States",
    "phoneNumber": "(425) 555-1111",
    "old_password": "secret$123",
    "password": "secret$234",
    "verifyPassword": "secret$234",
    "ssoProvider": "sso-domain.com",
    "language": "en-US",
    "ipWhitelist": [
      "127.0.0.1"
    ],
    "links": {
      "projects": "/gdc/account/profile/{profile_id}/projects",
      "self": "/gdc/account/profile/{profile_id}"
    }
  }
}

Response

Use profile successfully updated

object required

Changes

No recorded changes to this operation across all 1 revision of this API.