---
title: "Update User Profile"
method: PUT
path: "/api/v1/user/{user_id}"
tags: ["User"]
---

# Update User Profile

`PUT /api/v1/user/{user_id}`

Update the User Profile

## Path parameters

- `user_id` string, uuid, required

## Request body

- IUserUpdate
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `email` string, email, nullable
  - `is_active` boolean, nullable
  - `is_superuser` boolean, nullable
  - `birthdate` string, date-time, nullable
  - `is_enterprise` boolean, nullable
  - `role_id` string, uuid, nullable
  - `phone` string, nullable
  - `state` string, nullable
  - `country` string, nullable
  - `address` string, nullable
  - `active_billing_plan_id` string, uuid, nullable
  - `next_billing_plan_id` string, uuid, nullable
  - `stripe_customer_id` string, nullable
  - `stripe_subscription_id` string, nullable
  - `stripe_subscription_status` string, nullable
  - `stripe_has_payment_method` boolean, nullable
  - `stripe_card_brand` string, nullable
  - `stripe_card_last4` string, nullable
  - `is_trial` boolean, nullable
  - `used_trial` boolean, nullable
  - `is_paying` boolean, nullable
  - `stripe_last_payment_date` string, date-time, nullable
  - `billing_updated_at` string, date-time, nullable
  - `last_credits_refresh` string, date-time, nullable
  - `next_credits_refresh` string, date-time, nullable
  - `tutorial_completed_at` string, date-time, nullable

## Response `200`

Successful Response

- IPutResponseBaseIUserRead
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IUserRead
    - `first_name` string, required
    - `last_name` string, required
    - `email` string, email, required
    - `is_active` boolean
    - `is_superuser` boolean
    - `birthdate` string, date-time, nullable
    - `is_enterprise` boolean, nullable
    - `role_id` string, uuid, nullable
    - `phone` string, nullable
    - `state` string, nullable
    - `country` string, nullable
    - `address` string, nullable
    - `active_billing_plan_id` string, uuid, nullable
    - `next_billing_plan_id` string, uuid, nullable
    - `stripe_customer_id` string, nullable
    - `stripe_subscription_id` string, nullable
    - `stripe_subscription_status` string, nullable
    - `stripe_has_payment_method` boolean, nullable
    - `stripe_card_brand` string, nullable
    - `stripe_card_last4` string, nullable
    - `is_trial` boolean, nullable
    - `used_trial` boolean, nullable
    - `is_paying` boolean, nullable
    - `stripe_last_payment_date` string, date-time, nullable
    - `billing_updated_at` string, date-time, nullable
    - `last_credits_refresh` string, date-time, nullable
    - `next_credits_refresh` string, date-time, nullable
    - `tutorial_completed_at` string, date-time, nullable
    - `id` string, uuid, required
    - `follower_count` integer, nullable
    - `following_count` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/insighto/apis/ragify.md) · [All operations](https://skmtc.net/insighto/apis/ragify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insighto/ragify/revisions/cdca56191be9/schema)
