cyphermed.api.devices.key
Reset Api Key
Reset a device's API key and get a new one
Args: device_id (str):
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[NewApiKey]
Reset Api Key
Reset a device's API key and get a new one
Args: device_id (str):
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: NewApiKey
Reset Api Key
Reset a device's API key and get a new one
Args: device_id (str):
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[NewApiKey]
Reset Api Key
Reset a device's API key and get a new one
Args: device_id (str):
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: NewApiKey