RegisterLogin
DocsPricing
RegisterLogin
  • Getting Started
  • Introduction
  • Quick Start
  • SDKs
  • React
  • TypeScript
  • Next.js
  • Express
  • NestJS
  • Python
  • API Reference
  • Support and Resources
  • FAQ
  • Contact

UserApi

API client for user profile management and account operations.


Overview

Provides methods for fetching user profiles, updating user information, changing passwords, deleting accounts, and listing users with admin privileges.


Basic Usage

import { HttpService, UserApi } from 'authsafe-ts';

const user = await oauthService.getUser();
const httpService = new HttpService(user?.access_token);
const userApi = new UserApi(httpService);

const profile = await userApi.getUser('user-123');

Best Practices
  • getUser(userId) — Fetch detailed user information
  • updateUser(userId, data) — Update user information (name, metadata, etc.)
  • changePassword(userId, currentPassword, newPassword) — Update user's password

AuthSafe

Product

HighlightFeatureIntegrationPricingFAQ

Company

AboutBlogContact

Developer

DashboardDocumentation

Legal

Terms & ConditionsPrivacyComplianceShippingCancellationAI

© 2026 AuthSafe. All rights reserved.

We value your privacy

This website uses cookies for anonymous analytics to help us improve your experience. No personal information is stored or shared. You can allow or reject analytics tracking at any time. See our Privacy Policy.

We use cookies for anonymous analytics. No personal info is stored. See our Privacy Policy.