Authentications Log
Last updated
Was this helpful?
Last updated
Was this helpful?
Query audit log of authentication events (logins and logouts).
For each endpoint, a compound document is returned. The primary collection of event objects is paginated, ordered by date descending. Secondary collections of logins, accounts, page views, and users related to the returned events are also included. Refer to the Logins, Accounts, Page Views, and Users APIs for descriptions of the objects in those collections.
Authentication logs are stored for one year.
GET /api/v1/audit/authentication/logins/:login_id
Scope: url:GET|/api/v1/audit/authentication/logins/:login_id
List authentication events for a given login.
start_time
DateTime
The beginning of the time range from which you want events. Events are stored for one year.
end_time
DateTime
The end of the time range from which you want events.
GET /api/v1/audit/authentication/accounts/:account_id
Scope: url:GET|/api/v1/audit/authentication/accounts/:account_id
List authentication events for a given account.
start_time
DateTime
The beginning of the time range from which you want events. Events are stored for one year.
end_time
DateTime
The end of the time range from which you want events.
GET /api/v1/audit/authentication/users/:user_id
Scope: url:GET|/api/v1/audit/authentication/users/:user_id
List authentication events for a given user.
start_time
DateTime
The beginning of the time range from which you want events. Events are stored for one year.
end_time
DateTime
The end of the time range from which you want events.
This documentation is generated directly from the Canvas LMS source code, available .