cyphermed.api.roles.get_role_project_access
Get Role Project Access
Get list of project access objects assigned to the target role
Args: role_id (str): page_count (Union[Unset, bool]): Whether to only return the number of pages object_count (Union[Unset, bool]): Whether to only return the number of matching entries desc (Union[Unset, bool]): Whether to order results in descending order bust_cache (Union[Unset, bool]): Whether to bypass the cache and get the latest data is_active (Union[Unset, bool]): (Admin only) Whether to only return active accounts is_delete_protected (Union[Unset, bool]): Whether to only return delete-protected accounts created_by (Union[Unset, str]): ID of the user who created the account last_updated_by (Union[Unset, str]): ID of the user who last updated the account search (Union[Unset, str]): Search term to filter accounts by search_fields (Union[Unset, str]): Comma-delimited list of fields to search in limit (Union[Unset, int]): Maximum number of objects to return page (Union[Unset, int]): Page number to return order_by (Union[Unset, str]): Field to order results by created_date (Union[Unset, datetime.datetime]): Created date of items to return created_date_gte (Union[Unset, datetime.datetime]): created_date_lte (Union[Unset, datetime.datetime]): last_updated_date (Union[Unset, datetime.datetime]): Last edited date of items to return last_updated_date_gte (Union[Unset, datetime.datetime]): last_updated_date_lte (Union[Unset, datetime.datetime]): tags (Union[Unset, str]): Comma delimited list of tags on this account tags_contains (Union[Unset, str]): tags_contains_any (Union[Unset, str]): ids_only (Union[Unset, bool]): Return list(s) of IDs only can_read (Union[Unset, bool]): Return only access for resources you can read can_update (Union[Unset, bool]): Return only access for resources you can update user_permissions_can_create (Union[Unset, bool]): User membership create permission user_permissions_can_read (Union[Unset, bool]): User membership read permission user_permissions_can_update (Union[Unset, bool]): User membership update permission user_permissions_can_delete (Union[Unset, bool]): User membership delete permission device_permissions_can_create (Union[Unset, bool]): Device membership create permissions device_permissions_can_read (Union[Unset, bool]): Device membership read permissions device_permissions_can_update (Union[Unset, bool]): Device membership update permissions device_permissions_can_delete (Union[Unset, bool]): Device membership delete permissions project_name (Union[Unset, str]): Return access for projects with a specific name project_description (Union[Unset, str]): Return access for projects with a specific description project_tags (Union[Unset, str]): Return access for projects with specific tags project_tags_contains (Union[Unset, str]): project_tags_contains_any (Union[Unset, str]): is_admin (Union[Unset, bool]): Only return project access with admin access group_permissions_can_create (Union[Unset, bool]): Linked groups create permissions group_permissions_can_read (Union[Unset, bool]): Linked groups read permissions group_permissions_can_update (Union[Unset, bool]): Linked groups update permissions group_permissions_can_delete (Union[Unset, bool]): Linked groups delete permissions role_permissions_can_create (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_read (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_update (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_delete (Union[Unset, bool]): Role membership CRUD permissions
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Response[RoleProjectAccessList]
Get Role Project Access
Get list of project access objects assigned to the target role
Args: role_id (str): page_count (Union[Unset, bool]): Whether to only return the number of pages object_count (Union[Unset, bool]): Whether to only return the number of matching entries desc (Union[Unset, bool]): Whether to order results in descending order bust_cache (Union[Unset, bool]): Whether to bypass the cache and get the latest data is_active (Union[Unset, bool]): (Admin only) Whether to only return active accounts is_delete_protected (Union[Unset, bool]): Whether to only return delete-protected accounts created_by (Union[Unset, str]): ID of the user who created the account last_updated_by (Union[Unset, str]): ID of the user who last updated the account search (Union[Unset, str]): Search term to filter accounts by search_fields (Union[Unset, str]): Comma-delimited list of fields to search in limit (Union[Unset, int]): Maximum number of objects to return page (Union[Unset, int]): Page number to return order_by (Union[Unset, str]): Field to order results by created_date (Union[Unset, datetime.datetime]): Created date of items to return created_date_gte (Union[Unset, datetime.datetime]): created_date_lte (Union[Unset, datetime.datetime]): last_updated_date (Union[Unset, datetime.datetime]): Last edited date of items to return last_updated_date_gte (Union[Unset, datetime.datetime]): last_updated_date_lte (Union[Unset, datetime.datetime]): tags (Union[Unset, str]): Comma delimited list of tags on this account tags_contains (Union[Unset, str]): tags_contains_any (Union[Unset, str]): ids_only (Union[Unset, bool]): Return list(s) of IDs only can_read (Union[Unset, bool]): Return only access for resources you can read can_update (Union[Unset, bool]): Return only access for resources you can update user_permissions_can_create (Union[Unset, bool]): User membership create permission user_permissions_can_read (Union[Unset, bool]): User membership read permission user_permissions_can_update (Union[Unset, bool]): User membership update permission user_permissions_can_delete (Union[Unset, bool]): User membership delete permission device_permissions_can_create (Union[Unset, bool]): Device membership create permissions device_permissions_can_read (Union[Unset, bool]): Device membership read permissions device_permissions_can_update (Union[Unset, bool]): Device membership update permissions device_permissions_can_delete (Union[Unset, bool]): Device membership delete permissions project_name (Union[Unset, str]): Return access for projects with a specific name project_description (Union[Unset, str]): Return access for projects with a specific description project_tags (Union[Unset, str]): Return access for projects with specific tags project_tags_contains (Union[Unset, str]): project_tags_contains_any (Union[Unset, str]): is_admin (Union[Unset, bool]): Only return project access with admin access group_permissions_can_create (Union[Unset, bool]): Linked groups create permissions group_permissions_can_read (Union[Unset, bool]): Linked groups read permissions group_permissions_can_update (Union[Unset, bool]): Linked groups update permissions group_permissions_can_delete (Union[Unset, bool]): Linked groups delete permissions role_permissions_can_create (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_read (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_update (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_delete (Union[Unset, bool]): Role membership CRUD permissions
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: RoleProjectAccessList
Get Role Project Access
Get list of project access objects assigned to the target role
Args: role_id (str): page_count (Union[Unset, bool]): Whether to only return the number of pages object_count (Union[Unset, bool]): Whether to only return the number of matching entries desc (Union[Unset, bool]): Whether to order results in descending order bust_cache (Union[Unset, bool]): Whether to bypass the cache and get the latest data is_active (Union[Unset, bool]): (Admin only) Whether to only return active accounts is_delete_protected (Union[Unset, bool]): Whether to only return delete-protected accounts created_by (Union[Unset, str]): ID of the user who created the account last_updated_by (Union[Unset, str]): ID of the user who last updated the account search (Union[Unset, str]): Search term to filter accounts by search_fields (Union[Unset, str]): Comma-delimited list of fields to search in limit (Union[Unset, int]): Maximum number of objects to return page (Union[Unset, int]): Page number to return order_by (Union[Unset, str]): Field to order results by created_date (Union[Unset, datetime.datetime]): Created date of items to return created_date_gte (Union[Unset, datetime.datetime]): created_date_lte (Union[Unset, datetime.datetime]): last_updated_date (Union[Unset, datetime.datetime]): Last edited date of items to return last_updated_date_gte (Union[Unset, datetime.datetime]): last_updated_date_lte (Union[Unset, datetime.datetime]): tags (Union[Unset, str]): Comma delimited list of tags on this account tags_contains (Union[Unset, str]): tags_contains_any (Union[Unset, str]): ids_only (Union[Unset, bool]): Return list(s) of IDs only can_read (Union[Unset, bool]): Return only access for resources you can read can_update (Union[Unset, bool]): Return only access for resources you can update user_permissions_can_create (Union[Unset, bool]): User membership create permission user_permissions_can_read (Union[Unset, bool]): User membership read permission user_permissions_can_update (Union[Unset, bool]): User membership update permission user_permissions_can_delete (Union[Unset, bool]): User membership delete permission device_permissions_can_create (Union[Unset, bool]): Device membership create permissions device_permissions_can_read (Union[Unset, bool]): Device membership read permissions device_permissions_can_update (Union[Unset, bool]): Device membership update permissions device_permissions_can_delete (Union[Unset, bool]): Device membership delete permissions project_name (Union[Unset, str]): Return access for projects with a specific name project_description (Union[Unset, str]): Return access for projects with a specific description project_tags (Union[Unset, str]): Return access for projects with specific tags project_tags_contains (Union[Unset, str]): project_tags_contains_any (Union[Unset, str]): is_admin (Union[Unset, bool]): Only return project access with admin access group_permissions_can_create (Union[Unset, bool]): Linked groups create permissions group_permissions_can_read (Union[Unset, bool]): Linked groups read permissions group_permissions_can_update (Union[Unset, bool]): Linked groups update permissions group_permissions_can_delete (Union[Unset, bool]): Linked groups delete permissions role_permissions_can_create (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_read (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_update (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_delete (Union[Unset, bool]): Role membership CRUD permissions
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Response[RoleProjectAccessList]
Get Role Project Access
Get list of project access objects assigned to the target role
Args: role_id (str): page_count (Union[Unset, bool]): Whether to only return the number of pages object_count (Union[Unset, bool]): Whether to only return the number of matching entries desc (Union[Unset, bool]): Whether to order results in descending order bust_cache (Union[Unset, bool]): Whether to bypass the cache and get the latest data is_active (Union[Unset, bool]): (Admin only) Whether to only return active accounts is_delete_protected (Union[Unset, bool]): Whether to only return delete-protected accounts created_by (Union[Unset, str]): ID of the user who created the account last_updated_by (Union[Unset, str]): ID of the user who last updated the account search (Union[Unset, str]): Search term to filter accounts by search_fields (Union[Unset, str]): Comma-delimited list of fields to search in limit (Union[Unset, int]): Maximum number of objects to return page (Union[Unset, int]): Page number to return order_by (Union[Unset, str]): Field to order results by created_date (Union[Unset, datetime.datetime]): Created date of items to return created_date_gte (Union[Unset, datetime.datetime]): created_date_lte (Union[Unset, datetime.datetime]): last_updated_date (Union[Unset, datetime.datetime]): Last edited date of items to return last_updated_date_gte (Union[Unset, datetime.datetime]): last_updated_date_lte (Union[Unset, datetime.datetime]): tags (Union[Unset, str]): Comma delimited list of tags on this account tags_contains (Union[Unset, str]): tags_contains_any (Union[Unset, str]): ids_only (Union[Unset, bool]): Return list(s) of IDs only can_read (Union[Unset, bool]): Return only access for resources you can read can_update (Union[Unset, bool]): Return only access for resources you can update user_permissions_can_create (Union[Unset, bool]): User membership create permission user_permissions_can_read (Union[Unset, bool]): User membership read permission user_permissions_can_update (Union[Unset, bool]): User membership update permission user_permissions_can_delete (Union[Unset, bool]): User membership delete permission device_permissions_can_create (Union[Unset, bool]): Device membership create permissions device_permissions_can_read (Union[Unset, bool]): Device membership read permissions device_permissions_can_update (Union[Unset, bool]): Device membership update permissions device_permissions_can_delete (Union[Unset, bool]): Device membership delete permissions project_name (Union[Unset, str]): Return access for projects with a specific name project_description (Union[Unset, str]): Return access for projects with a specific description project_tags (Union[Unset, str]): Return access for projects with specific tags project_tags_contains (Union[Unset, str]): project_tags_contains_any (Union[Unset, str]): is_admin (Union[Unset, bool]): Only return project access with admin access group_permissions_can_create (Union[Unset, bool]): Linked groups create permissions group_permissions_can_read (Union[Unset, bool]): Linked groups read permissions group_permissions_can_update (Union[Unset, bool]): Linked groups update permissions group_permissions_can_delete (Union[Unset, bool]): Linked groups delete permissions role_permissions_can_create (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_read (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_update (Union[Unset, bool]): Role membership CRUD permissions role_permissions_can_delete (Union[Unset, bool]): Role membership CRUD permissions
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: RoleProjectAccessList