PATCH /useractivity/{uuid}

PATCH /useractivity/{uuid}

/useractivity/{uuid}

Request
URI
PATCH
https://{api_host}/api/useractivity/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

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.

string
X-CSRFToken
Optional

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.


Request Body

UserActivity object creation

UserActivity of type(s) application/json
Optional
{
    "_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"
}
Responses
200

OK

Returns UserActivity of type(s) application/json
"UserActivity Object"
string
_last_modified
Optional

UNIX time since epoch in microseconds. Units(MICROSECONDS).

integer As uint32 As uint32
concurrent_sessions
Optional

Number of concurrent user sessions open. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
failed_login_attempts
Optional

Number of failed login attempts before a successful login. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
last_login_ip
Optional

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.

string
last_login_timestamp
Optional

Timestamp of last login. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
last_password_update
Optional

Timestamp of last password update. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
logged_in
Optional

Indicates whether the user is logged in or not. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of string
login_failure_timestamps
Optional

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.

string
name
Optional

Name of the user this object refers to. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of string
previous_password
Optional

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.

string
url
Optional

url

string
uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'