---
title: "Update User Metadata Endpoint"
method: POST
path: "/api/v1/user_auth/update_user_metadata"
---

# Update User Metadata Endpoint

`POST /api/v1/user_auth/update_user_metadata`

## Request

- Base URL: `https://api.caresquare.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.caresquare.com.au/api/v1/user_auth/update_user_metadata`
- Auth: none declared

Update user mobile number in Supabase auth.users table.

## Request body

- UpdateUserMetadata
  - `user_id` string, required
  - `phone_number` string, required
  - `plan_manager_id` string, nullable
  - `update_profile` boolean, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/caresquare/apis/caresquare-api.md) - [All operations](https://skmtc.dev/caresquare/apis/caresquare-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caresquare/apis/caresquare-api/revisions/d428fe38bf62?raw)
