kavita_client.api.account.post_api_account_update_age_restriction

Module Contents

Functions

asyncio_detailed

Change the Age Rating restriction for the user

sync_detailed

Change the Age Rating restriction for the user

API

async kavita_client.api.account.post_api_account_update_age_restriction.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_age_restriction_dto.UpdateAgeRestrictionDto | kavita_client.models.update_age_restriction_dto.UpdateAgeRestrictionDto | kavita_client.models.update_age_restriction_dto.UpdateAgeRestrictionDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Change the Age Rating restriction for the user

Args:

body (UpdateAgeRestrictionDto | Unset): body (UpdateAgeRestrictionDto | Unset): body (UpdateAgeRestrictionDto | 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[Any]

kavita_client.api.account.post_api_account_update_age_restriction.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_age_restriction_dto.UpdateAgeRestrictionDto | kavita_client.models.update_age_restriction_dto.UpdateAgeRestrictionDto | kavita_client.models.update_age_restriction_dto.UpdateAgeRestrictionDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Change the Age Rating restriction for the user

Args:

body (UpdateAgeRestrictionDto | Unset): body (UpdateAgeRestrictionDto | Unset): body (UpdateAgeRestrictionDto | 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[Any]