Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.78 KB

File metadata and controls

49 lines (40 loc) · 1.78 KB

User

User Serializer

Properties

Name Type Description Notes
pk int [readonly]
username str
name str User's display name.
is_active bool Designates whether this user should be treated as active. Unselect this instead of deleting accounts. [optional]
last_login datetime [optional]
date_joined datetime [readonly]
is_superuser bool [readonly]
groups List[UUID] [optional]
groups_obj List[PartialGroup] [readonly]
roles List[UUID] [optional]
roles_obj List[Role] [readonly]
email str [optional]
avatar str User's avatar, either a http/https URL or a data URI [readonly]
attributes Dict[str, object] [optional]
uid str [readonly]
path str [optional]
type UserTypeEnum [optional]
uuid UUID [readonly]
password_change_date datetime [readonly]
last_updated datetime [readonly]

Example

from authentik_client.models.user import User

# TODO update the JSON string below
json = "{}"
# create an instance of User from a JSON string
user_instance = User.from_json(json)
# print the JSON string representation of the object
print(User.to_json())

# convert the object into a dict
user_dict = user_instance.to_dict()
# create an instance of User from a dict
user_from_dict = User.from_dict(user_dict)

[Back to Model list] [Back to API list] [Back to README]