This action deactivates an existing user from ExtraView. It does not delete the user record from the database. This is because historic records contain references to users and their name must remain available for display.
http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password
&statevar=delete_user
&security_user_id=userID
[&access_token=token-value]
You must provide an existing userID. The command will fail if you pass a name other than security_user_id. You must have update permission to the security key named SE_SECURITY_USER before you can execute the command.
The optional access_token
parameter allows you to use a valid OAuth2 token obtained with the get_token
command. If you provide the access_token
parameter, then the user_id
and password
parameters should not be provided. This prevents the password being sent in clear text over your network connection.