admin_list_admins

Get the current list of system admins and privileges

Functions

async pydelfini.delfini_core.api.admin.admin_list_admins.asyncio(*, client)[source]

Get the current list of system admins and privileges

Retrieve the list of admins and their privileges. Administrator access required.

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

Parameters:

client (AuthenticatedClient)

Return type:

AdminList

async pydelfini.delfini_core.api.admin.admin_list_admins.asyncio_detailed(*, client)[source]

Get the current list of system admins and privileges

Retrieve the list of admins and their privileges. Administrator access required.

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[AdminList, ServerError]]

Parameters:

client (AuthenticatedClient)

Return type:

Response[AdminList | ServerError]

pydelfini.delfini_core.api.admin.admin_list_admins.sync(*, client)[source]

Get the current list of system admins and privileges

Retrieve the list of admins and their privileges. Administrator access required.

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

Parameters:

client (AuthenticatedClient)

Return type:

AdminList

pydelfini.delfini_core.api.admin.admin_list_admins.sync_detailed(*, client)[source]

Get the current list of system admins and privileges

Retrieve the list of admins and their privileges. Administrator access required.

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[AdminList, ServerError]]

Parameters:

client (AuthenticatedClient)

Return type:

Response[AdminList | ServerError]