cyphermed.api.devices.patch_device

def sync_detailed( device_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_device_body.PatchDeviceBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Patch Device

Patch a device

Args: device_id (str): body (PatchDeviceBody): Update a device

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

def sync( device_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_device_body.PatchDeviceBody) -> Optional[cyphermed.models.success.Success]:

Patch Device

Patch a device

Args: device_id (str): body (PatchDeviceBody): Update a device

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

async def asyncio_detailed( device_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_device_body.PatchDeviceBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Patch Device

Patch a device

Args: device_id (str): body (PatchDeviceBody): Update a device

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

async def asyncio( device_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.patch_device_body.PatchDeviceBody) -> Optional[cyphermed.models.success.Success]:

Patch Device

Patch a device

Args: device_id (str): body (PatchDeviceBody): Update a device

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