webapp-users
Update user profile of user specified by userId
Only profile owner or domain admin is allowed to update user profiles. Steps:
-
GET the account settings of the user.
-
Remove all keywords from the returned JSON except for firstName and lastName.
-
Add the authenticationModes keyword. You can specify SSO, PASSWORD, or both.
-
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".
-
Execute a PUT to modify the authentication settings for the user.
put/gdc/account/profile/{userId}
Request
- Base URLhttps://secure.gooddata.com
- Authnone 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.