Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.57 KB

File metadata and controls

34 lines (25 loc) · 1.57 KB

UpdateUser

Properties

Name Type Description Notes
name str Name of the user. [optional]
state str The state of the user. - `deactivated`: The user has been deactivated. - `active`: The user is active. Note: Only `admin` users can update the state of another user. [optional]
is_admin bool Indicates whether the user is an `admin`. [optional]
policy str Indicates the access level of the user. [optional]
roles List[int] A list of the IDs of the roles assigned to the user. Note: To find the ID of a role, use the List roles endpoint. [optional]
application_notification_subscriptions object Application notifications that the user is subscribed to. [optional]

Example

from talon_one.models.update_user import UpdateUser

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

# convert the object into a dict
update_user_dict = update_user_instance.to_dict()
# create an instance of UpdateUser from a dict
update_user_from_dict = UpdateUser.from_dict(update_user_dict)

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