Deletes a user by their ID. This method will permanently remove the user from the system. *
UserIdRequest containing the id of the user to delete. If the id is not provided, an error will be thrown.
Fetches all users with optional sorting, filtering, and pagination.
Optionalsort: SortParametersSorting parameters to apply to the results. Allowed values are SortParameters.ID and SortParameters.UUID. If not provided, no sorting is applied.
Optionalinclude: IncludeParameters[]Include parameters to specify related resources to include in the response. Allowed values are IncludeParameters.SERVERS. If not provided, no related resources are included.
Optionalfilter: Record<FilterParameters, string>Filter parameters to apply to the results. Allowed values are FilterParameters.EMAIL, FilterParameters.EXTERNAL_ID, FilterParameters.USERNAME, and FilterParameters.UUID. If not provided, no filtering is applied.
Optionalpagination: PaginationOptionsPagination options to control the number of results returned. If not provided, all results are returned.
UserIdRequest containing either id or external_id of the user to fetch. If both are provided, id will be used. If neither is provided, an error will be thrown.
Optionalinclude: IncludeParameters[]Include parameters to specify related resources to include in the response. Allowed values are IncludeParameters.SERVERS. If not provided, no related resources are included.
Updates a user's information using the provided user data.
UserUpdateRequest containing the user's id and the fields to update.
UserRequest containing user details to create a new user. The email, username, first_name, and last_name fields are required. The password field is optional but recommended. If external_id is provided, it will be used as the user's external identifier. The root_admin field is optional and defaults to false.