kavita_client.api.theme.delete_api_theme

Module Contents

Functions

asyncio

Attempts to delete a theme. If already in use by users, will not allow

asyncio_detailed

Attempts to delete a theme. If already in use by users, will not allow

sync

Attempts to delete a theme. If already in use by users, will not allow

sync_detailed

Attempts to delete a theme. If already in use by users, will not allow

API

async kavita_client.api.theme.delete_api_theme.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, theme_id: int | kavita_client.types.Unset = UNSET) → list[kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto] | None

Attempts to delete a theme. If already in use by users, will not allow

Args:

theme_id (int | Unset):

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:

list[DownloadableSiteThemeDto]

async kavita_client.api.theme.delete_api_theme.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, theme_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto]]

Attempts to delete a theme. If already in use by users, will not allow

Args:

theme_id (int | Unset):

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[list[DownloadableSiteThemeDto]]

kavita_client.api.theme.delete_api_theme.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, theme_id: int | kavita_client.types.Unset = UNSET) → list[kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto] | None

Attempts to delete a theme. If already in use by users, will not allow

Args:

theme_id (int | Unset):

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:

list[DownloadableSiteThemeDto]

kavita_client.api.theme.delete_api_theme.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, theme_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto]]

Attempts to delete a theme. If already in use by users, will not allow

Args:

theme_id (int | Unset):

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[list[DownloadableSiteThemeDto]]