kavita_client.api.font.delete_api_font

Module Contents

Functions

asyncio

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

asyncio_detailed

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

sync

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

sync_detailed

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

API

async kavita_client.api.font.delete_api_font.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, font_id: int | kavita_client.types.Unset = UNSET, force: bool | kavita_client.types.Unset = False) → kavita_client.models.font_delete_result_dto.FontDeleteResultDto | None

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

Args:

font_id (int | Unset): force (bool | Unset): Default: False.

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:

FontDeleteResultDto

async kavita_client.api.font.delete_api_font.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, font_id: int | kavita_client.types.Unset = UNSET, force: bool | kavita_client.types.Unset = False) → kavita_client.types.Response[kavita_client.models.font_delete_result_dto.FontDeleteResultDto]

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

Args:

font_id (int | Unset): force (bool | Unset): Default: False.

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

kavita_client.api.font.delete_api_font.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, font_id: int | kavita_client.types.Unset = UNSET, force: bool | kavita_client.types.Unset = False) → kavita_client.models.font_delete_result_dto.FontDeleteResultDto | None

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

Args:

font_id (int | Unset): force (bool | Unset): Default: False.

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:

FontDeleteResultDto

kavita_client.api.font.delete_api_font.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, font_id: int | kavita_client.types.Unset = UNSET, force: bool | kavita_client.types.Unset = False) → kavita_client.types.Response[kavita_client.models.font_delete_result_dto.FontDeleteResultDto]

Removes a font family from the system. The family is validated for in-use server side and only removed when it is not selected by a user, or when an admin forces the deletion.

Args:

font_id (int | Unset): force (bool | Unset): Default: False.

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