Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.36 KB

UpdateRoleRequest.md

File metadata and controls

32 lines (23 loc) · 1.36 KB

UpdateRoleRequest

Properties

Name Type Description Notes
name str The name of the role. There is a limit of 255 characters per role.
admin bool If user is admin he will have permissions to all API endpoints and resources. Enabling this will superseed all role definitions and `accessAllResources`.
access_all_resources bool Allow access to all resources. This will superseed all assigned resources in a role.
permissions List[PermissionRequest] [optional]

Example

from pfruck_contabo.models.update_role_request import UpdateRoleRequest

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

# convert the object into a dict
update_role_request_dict = update_role_request_instance.to_dict()
# create an instance of UpdateRoleRequest from a dict
update_role_request_from_dict = UpdateRoleRequest.from_dict(update_role_request_dict)

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