Cloud Administration Update Local User API
Use the Cloud Administration Update Local User API to modify existing user accounts in a local identity source. This API allows you to update user details such as name, email address, and password.
For more information about managing access to this API, see Accessing the Cloud Administration APIs.
Authentication
This API is accessible only via OAuth and does not support the legacy JSON Web Token (JWT) authentication flow. For more information, see Manage OAuth API Clients.
You need the "rsa.group.users.manage" OAuth permission to use this endpoint.
Software Developer Kit
You can download the API Software Developer Kit (SDK) from Cloud Administration REST API Download.
Request Requirements
Use the following information to perform a local user update request.
| Method | Request URL | Response Codes |
|---|---|---|
| PUT | /AdminInterface/restapi/v1/users/update | 200, 400, 403 |
Request Parameter
The following table describes the request body parameter.
| Request Parameter | Description | Data Type |
|---|---|---|
| customerId | Unique customer identifier | Long |
Example Request Body
The following is an example request body.
{
"id": "b60ee604-1c1a-4160-94cd-da5442c819bd",
"firstName": "Joe",
"lastName": "Schmoe",
"userName": "jschmoe",
"email": "jschmoe@rsavia.com",
"defaultSmsPhone": "1234567890",
"defaultVoicePhone": "1234567890",
"managerEmail": "testManager@rsavia.com",
"identitySource": "Local Identity Source",
"password": null,
"passwordCreationOption": "NONE",
"passwordSendMethod": "NONE",
"initialPasswordEmail": "",
"alternateUsernames": ["group1", "group2"],
"groupMemberships": ["group1", "group2"],
"smsPhoneNumbers": ["1234567891", "1234567892"],
"voicePhoneNumbers": ["1234567891", "1234567892"]
}Example Request Data
The following is an example request data.
PUT /AdminInterface/restapi/v1/users/update
createContent-Type: application/json
Authorization: Bearer <Oauth token>
Request Properties Descriptions
The following table explains the request properties.
| Field | Description | Required |
|---|---|---|
| id | Unique identifier for the user. | Yes |
| First name | User's first name. | Yes |
| User name | Unique username. | Yes |
| User's email address. | Yes | |
| IdentitySource | Source of user identity (for example, local or LDAP). | Yes |
| PasswordCreationOption | Specifies how the user's password is set. Options are "NONE", "GENERATE_AND_SEND", and "ENTERED_BY_ADMIN". | Yes |
| passwordSendMethod | Specifies how the system delivers the generated password to the user. Options are "NONE" and "EMAIL". | Required only if passwordCreationOption is set to "GENERATE_AND_SEND" |
Example Response
The following example shows the example return response.
{
"cloud_directory_enabled": true,
"user_id": "80800c5b-707b-3cd4-de78-48e67e4a923d",
"email": "jschmoe@rsavia.com",
"first_name_valid": true,
"last_name_valid": true
"username_valid": true,
"email_valid": true,
"email_failure_reason": null,
"sms_phone_valid": true,
"voice_phone_valid": true,
"manager_email_valid": true,
"manager_email_failure_reason": null,
"identity_source_valid": true,
"password_valid": true,
"initial_password_email_valid": false,
"password_send_method_valid": true,
"alternate_username_valid": [true, true],
"virtualgroups_valid": [true, true],
"sms_phone_list_valid": [true, true],
"voice_phone_list_valid": [true, true],
"save_succeeded": true,
"save_failure_reason": null,
"duplicate_username": false,
"validation_errors": [],
}Response Codes
The following table lists the response codes and their descriptions for this API.
| Code | Description |
|---|---|
| 200 | Successfully submitted a request to update a user. The variable saveSucceeded in UserUpdateStatusPublicDTO will indicate whether the user was updated successfully. |
| 400 | The operation could not be completed. One of the following error messages may be returned:
|
| 403 | Not authorized to perform the request. The request includes incorrect OAuth permissions |
Related Articles
local user name attribute value not found in X.509 name 15Number of Views Cloud Administration Create Local User API 10Number of Views RSA MFA Agent 2.4 for Windows and later fails to authenticate local users who are managed on devices participating in Micr… 151Number of Views Local entitlements belonging to roles are not consistently added to users in RSA Identity Governance & Lifecycle 40Number of Views Windows Share is not accessible from local users after upgrading to 8.5 263Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Reporting on RSA Authentication Manager 8.x users with On-Demand Token, a fixed passcode or a hardware/software token assi… How to Download OTP Token Seed Files from myRSA Anomalix idGenius - SAML Relying Party Configuration - RSA Ready Implementation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide