Users
Edit a user
Update an existing user's details in PAM360 using the user ID.
put/restapi/json/v1/user/{userId}
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
User ID
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"operation": {
"Details": {
"FIRSTNAME": "Jason",
"LASTNAME": "J",
"EMAIL": "jason@opmanager.com",
"SECONDARYEMAILID": "jason.alt@opmanager.com",
"ROLE": "Privileged Administrator",
"ROLEID": 2,
"DEPARTMENT": "NOC",
"LOCATION": "Level 10 - South Wing",
"USERGROUPNAME": "Demo",
"POLICY": "Strong",
"PASSWORD": "P@ssw0rd123",
"WEBACCESS": true,
"RESTAPIACCESS": true,
"ENABLEADDONACCESS": true,
"REMOTECONNECTACCESS": true,
"LANGUAGECODE": "english",
"ISAPIUSER": true,
"OWNERNAMEOPTION": true,
"EXPIRYDATE": "2027-12-31",
"TOKENVALIDITYDAYS": 200,
"HOSTCHECK": true,
"HOSTNAME": "john-123",
"RSAUSERNAME": "jason_rsa",
"RADIUSUSERNAME": "jason_radius",
"PHONEFACTOR_USERNAME": "jason_phone",
"DUOUSERNAME": "jason_duo",
"PRIMARYCONTACT": "mobile",
"MOBILE_COUNTRYCODE": "+1",
"MOBILE": "9876543210",
"LANDLINE": "04412345678",
"LANDLINE_COUNTRYCODE": "+1",
"LANDLINE_EXT": "1234"
}
}
}Response
User updated
Example response
{
"operation": {
"Details": {
"AUTHTOKEN": "2BXXXF5C-6XX6-4DF9-XXXX-E1B5XXXXXFD2"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.