Skip to Content
Documentation
Buy now
Introduction
Installation

Users router

An overview of the Users router

Procedures

The users router has the following procedures:

Update the user profile

Updates the user's profile. The user can update their name, email, and avatar.

// Client components
const { data } = useMutation(trpc.users.updateProfile.mutationOptions())

// Server components
const data = await caller.users.updateProfile()

Previous

Tags router

Next

Workspace members router