account_lockout_reset

This resets Account lockouts which can be run by Admin or SysOp Accounts with permission to reset lockouts.

Concept Link IconSee Also

Parameters:

Argument

Required

Type

Description

remoteip

no

string

Enter the remote IP.

location

no

string

Enter: webadmin or linux

format 

no

string

The format of the output for the API: text, json or xml. The default is text

callback

no

string

This only works with Direct APIs. This is a JavaScript function that should be called after the API is completed. This function will be called with the response of the API.  Please note: It can only be used when requesting this API via AJAX request. More Information can be found here.

Example

servername/webadmin/api/account_lockout_reset.php

Example 2

This resets lockouts for linux access from remote ip 10.1.1.1.

servername/webadmin/api/account_lockout_reset.php?remoteip=10.1.1.111&location=linux

Output:

OK: Accounts: Reset login lockout.

Permission denied: user 'xx' does not have permission to manage accounts.

Permission denied: user 'xx' does not have permission to reset lockouts

 

Netsweeper Version: 8.1.3