/getAuditsForSwagger
1 min
POST
http://1.1.1.1/getAuditsForSwagger
start_timestring<p>string in the format "yyyy-MM-dd" representing the starting date and time for the audit log filter. Example: "2022-01-01"</p>
end_timestring<p>string in the format "yyyy-MM-dd" representing the ending date and time for the audit log filter. Example: "2022-01-31"</p>
account_idstring<p>string representing the ID of an account. Example: "123456".</p>
account_idsarrayarray of strings representing the IDs of multiple accounts. Example: ["123456", "789012"].
user_nick_namestring<p>string representing the nickname of a user (deprecated field). Example: "john_doe".</p>
user_emailstring<p>string representing the email address of a user. Example: "<a href="mailto:[email protected]" target="_blank">[email protected]</a>".</p>
user_idstring<p>string in the format "yyyy-MM-dd" representing the starting date and time for the audit log filter. Example: "2022-01-01"</p>
actionstring<p>string representing the type of action to filter on, such as "login" or "logout". Example: "login"</p>
limitinteger<p>integer representing the maximum number of results to return. Example: 50.</p>
machinestring<p>string representing the name of a machine. Example: "webserver01"</p>
200success
curl --request POST \
--url 'http://1.1.1.1/getAuditsForSwagger?start_time=2022-01-01&end_time=2022-01-31&account_id=123456&account_ids=123456%2C789012&user_nick_name=john_doe&user_email=john.doe%40example.com&user_id=john.doe%40example.com&action=login&limit=50&machine=webserver01' \
--header 'accept: application/json'- return - Returns a list of all audit entries
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.