Login

class canvasapi.login.Login(requester, attributes)
Parameters:
  • requester (canvasapi.requester.Requester) – The requester to pass HTTP requests through.
  • attributes (dict) – The JSON object to build this object with.
delete()

Delete an existing login.

Calls:DELETE /api/v1/users/:user_id/logins/:id
Return type:canvasapi.login.Login
edit(**kwargs)

Update an existing login for a user in the given account.

Calls:PUT /api/v1/accounts/:account_id/logins/:id
Return type:canvasapi.login.Login
get_authentication_events(**kwargs)

List authentication events for a given login.

Calls:GET /api/v1/audit/authentication/logins/:login_id
Return type:canvasapi.paginated_list.PaginatedList of canvasapi.authentication_event.AuthenticationEvent