user_update_user_admin

Adjust administrative settings for a user

Functions

async pydelfini.delfini_core.api.user.user_update_user_admin.asyncio(user_name, *, client, body)[source]

Adjust administrative settings for a user

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[UserAdmin]

Return type:

UserAdmin

async pydelfini.delfini_core.api.user.user_update_user_admin.asyncio_detailed(user_name, *, client, body)[source]

Adjust administrative settings for a user

Parameters:
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[Union[ServerError, UserAdmin]]

Return type:

Response[ServerError | UserAdmin]

pydelfini.delfini_core.api.user.user_update_user_admin.sync(user_name, *, client, body)[source]

Adjust administrative settings for a user

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[UserAdmin]

Return type:

UserAdmin

pydelfini.delfini_core.api.user.user_update_user_admin.sync_detailed(user_name, *, client, body)[source]

Adjust administrative settings for a user

Parameters:
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[Union[ServerError, UserAdmin]]

Return type:

Response[ServerError | UserAdmin]