benchling_sdk.services.v2.stable.organization_service module¶

class OrganizationService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

Organizations.

View organization objects.

See https://benchling.com/api/reference#/Organizations

get_by_id(organization_id: str) → Organization¶

Get an organization by ID.

Returns an organization by ID if the caller has permission to view. The following roles have view permission: * tenant admins * members of the organization

See https://benchling.com/api/reference#/Organizations/getOrganization

list(*, ids: Optional[Iterable[str]] = None, name: Optional[str] = None, name_includes: Optional[str] = None, names_any_of: Optional[Iterable[str]] = None, names_any_of_case_sensitive: Optional[Iterable[str]] = None, modified_at: Optional[str] = None, has_members: Optional[Iterable[str]] = None, has_admins: Optional[Iterable[str]] = None, sort: Optional[Union[str, ListOrganizationsSort]] = None, page_size: Optional[int] = 50, mentioned_in: Optional[List[str]] = None) → PageIterator[Organization]¶

List organizations.

Returns all organizations that the caller has permission to view. The following roles have view permission: * tenant admins * members of the organization

See https://benchling.com/api/reference#/Organizations/listOrganizations