POST /useractivity
/useractivity
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
UserActivity object creation
{
"_last_modified": "string",
"concurrent_sessions": 0,
"failed_login_attempts": 0,
"last_login_ip": "string",
"last_login_timestamp": "string",
"last_password_update": "string",
"logged_in": false,
"login_failure_timestamps": [
"string"
],
"name": "string",
"previous_password": [
"string"
],
"url": "string",
"uuid": "string"
}
OK
"UserActivity Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
Number of concurrent user sessions open. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Number of failed login attempts before a successful login. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
IP of the machine the user was last logged in from. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Timestamp of last login. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Timestamp of last password update. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Indicates whether the user is logged in or not. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Its a queue that store the timestamps for past login_failures. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Name of the user this object refers to. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Stores the previous n passwords where n is ControllerProperties.max_password_history_count. . Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
url
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/useractivity