insightapi2~update_user
function update_user(client:insightapi2~insightconfig, req:insightapi2~httprequest, resp:insightapi2~httpresponse):insightapi2~user
function update_user(client:insightapi2~insightconfig, id:text, body:insightapi2~user, resp:insightapi2~httpresponse):insightapi2~user
function update_user(client:insightapi2~insightconfig, id:text, body:insightapi2~user):insightapi2~user
client
|
An initialized
insightapi2~insightconfig to call
|
||
req
|
An initialized
insightapi2~httprequest record. The
body field may be populated with a value of type
insightapi2~user. The
params field may contain these indexes:
|
||
id
|
The user ID
|
||
body
|
The user with its updated fields
|
||
resp
|
A
insightapi2~httpresponse record into which will be written a description of the response
|
HTTP Status Code | Response body type | Description |
---|---|---|
200 | insightapi2~user | The updated user |
403 | The current user was not authorized to update this user,or cannot deactivate themself, or cannot remove SYS_USER from themself | |
404 | insightapi2~error_response | The user did not exist or was unavailable to the current user |
409 | insightapi2~error_response | The updated name was already in use |
422 | insightapi2~error_response | Validation of the requested changes failed. e.g. the name was too long or an app or authority group did not exist. |
insightapi2~user
insightapi2~insightconfig
insightapi2~httprequest
insightapi2~httpresponse
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.