pluralsight.licensing package¶
Submodules¶
pluralsight.licensing.client module¶
pluralsight.licensing.invites module¶
-
class
pluralsight.licensing.invites.InvitesClient(client)[source]¶ Bases:
objectInvites API
-
cancel_invite(id)[source]¶ Cancel an invitation
Parameters: id ( str) – The identifierReturn type: None
-
get_invite(id)[source]¶ Fetch an invitation by ID
Parameters: id ( str) – The identifierReturns: An instance InviteReturn type: Invite
-
get_invites(email=None, note=None, team_id=None)[source]¶ Get invitations matching certain filters
Parameters: - email (
str) – The users’ email address - team_id (
str) – The team identifier - note (
str) – Additional notes on the user
Returns: A list of
InviteReturn type: listofInvite- email (
-
pluralsight.licensing.teams module¶
pluralsight.licensing.users module¶
-
class
pluralsight.licensing.users.UsersClient(client)[source]¶ Bases:
objectUsers API
-
delete_user(id)[source]¶ Delete an existing user
Parameters: id ( str) – The identifierReturn type: None
-
get_all_users(first_name=None, last_name=None, email=None, note=None, team_id=None)[source]¶ Get all users
Parameters: - first_name (
str) – Filter by first name - last_name (
str) – Filter by last name - email (
str) – Filter by email - note (
str) – Filter by note - team_id (
str) – Filter by team ID
Returns: A list of
UserReturn type: listofUser- first_name (
-