cyphermed.api.groups.create_group

def sync_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_group_body.CreateGroupBody) -> cyphermed.types.Response[cyphermed.models.new_group_info.NewGroupInfo]:

Create Group

Create a new group

Args: body (CreateGroupBody): Which Group fields to include in request bodies

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[NewGroupInfo]

def sync( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_group_body.CreateGroupBody) -> Optional[cyphermed.models.new_group_info.NewGroupInfo]:

Create Group

Create a new group

Args: body (CreateGroupBody): Which Group fields to include in request bodies

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: NewGroupInfo

async def asyncio_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_group_body.CreateGroupBody) -> cyphermed.types.Response[cyphermed.models.new_group_info.NewGroupInfo]:

Create Group

Create a new group

Args: body (CreateGroupBody): Which Group fields to include in request bodies

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[NewGroupInfo]

async def asyncio( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_group_body.CreateGroupBody) -> Optional[cyphermed.models.new_group_info.NewGroupInfo]:

Create Group

Create a new group

Args: body (CreateGroupBody): Which Group fields to include in request bodies

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: NewGroupInfo