Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.36 KB

CreateRoleRequest.md

File metadata and controls

32 lines (23 loc) · 1.36 KB

CreateRoleRequest

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.create_role_request import CreateRoleRequest

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

# convert the object into a dict
create_role_request_dict = create_role_request_instance.to_dict()
# create an instance of CreateRoleRequest from a dict
create_role_request_from_dict = CreateRoleRequest.from_dict(create_role_request_dict)

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