cyphermed.api.roles.create_role
Create Role
Create a new role
Args: body (CreateRoleBody): Which Role fields to include in request bodies
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[NewRoleInfo]
Create Role
Create a new role
Args: body (CreateRoleBody): Which Role fields to include in request bodies
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: NewRoleInfo
Create Role
Create a new role
Args: body (CreateRoleBody): Which Role fields to include in request bodies
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[NewRoleInfo]
Create Role
Create a new role
Args: body (CreateRoleBody): Which Role fields to include in request bodies
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: NewRoleInfo