# \UsersApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**users_list**](UsersApi.md#users_list) | **GET** /api/users/ | [**users_me_retrieve**](UsersApi.md#users_me_retrieve) | **GET** /api/users/me/ | [**users_partial_update**](UsersApi.md#users_partial_update) | **PATCH** /api/users/{id}/ | [**users_retrieve**](UsersApi.md#users_retrieve) | **GET** /api/users/{id}/ | [**users_update**](UsersApi.md#users_update) | **PUT** /api/users/{id}/ | ## users_list > crate::models::PaginatedUserList users_list(page) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **page** | Option<**i32**> | A page number within the paginated result set. | | ### Return type [**crate::models::PaginatedUserList**](PaginatedUserList.md) ### Authorization [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## users_me_retrieve > crate::models::User users_me_retrieve() ### Parameters This endpoint does not need any parameter. ### Return type [**crate::models::User**](User.md) ### Authorization [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## users_partial_update > crate::models::User users_partial_update(id, patched_user_request) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | A unique integer value identifying this user. | [required] | **patched_user_request** | Option<[**PatchedUserRequest**](PatchedUserRequest.md)> | | | ### Return type [**crate::models::User**](User.md) ### Authorization [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## users_retrieve > crate::models::User users_retrieve(id) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | A unique integer value identifying this user. | [required] | ### Return type [**crate::models::User**](User.md) ### Authorization [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## users_update > crate::models::User users_update(id, user_request) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | A unique integer value identifying this user. | [required] | **user_request** | [**UserRequest**](UserRequest.md) | | [required] | ### Return type [**crate::models::User**](User.md) ### Authorization [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)