user_create_user¶
Create a new user
Functions
- async pydelfini.delfini_core.api.user.user_create_user.asyncio(*, client, body)[source]¶
Create a new user
- Parameters:
body (NewUser)
client (AuthenticatedClient | Client)
- 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[User]
- Return type:
- async pydelfini.delfini_core.api.user.user_create_user.asyncio_detailed(*, client, body)[source]¶
Create a new user
- Parameters:
body (NewUser)
client (AuthenticatedClient | Client)
- 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, User]]
- Return type:
- pydelfini.delfini_core.api.user.user_create_user.sync(*, client, body)[source]¶
Create a new user
- Parameters:
body (NewUser)
client (AuthenticatedClient | Client)
- 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[User]
- Return type:
- pydelfini.delfini_core.api.user.user_create_user.sync_detailed(*, client, body)[source]¶
Create a new user
- Parameters:
body (NewUser)
client (AuthenticatedClient | Client)
- 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, User]]
- Return type: