---
title: "PUT api/users/{id}"
method: PUT
path: "/api/users/{id}"
tags: ["User"]
---

# PUT api/users/{id}

`PUT /api/users/{id}`

## Request

- Base URL: `https://app.followr.ai`
- URL: `https://app.followr.ai/api/users/{id}`
- Auth: HTTP bearer

Update the user

## Request body

- object
  - `name` string: name of the user
  - `email` string: email of the user
  - `password` string
  - `language` string: language of the user
  - `timezone` string: timezone of the user
  - `referral_code` string: The <code>referral_code</code> of an existing record in the users table.
  - `notification_settings` object
    - `post_error` boolean
    - `post_published` boolean
    - `social_network_expired` boolean
    - `internal_comment_received` boolean
  - `referrer_url` string: Must be a valid URL. Must not be greater than 255 characters.
  - `land_url` string: Must be a valid URL. Must not be greater than 255 characters.
  - `frontend_url` string: Must be a valid URL.
  - `white_label_id` integer: The <code>id</code> of an existing record in the white_labels table.

## Response `200`

- object
  - `data` object
    - `id` integer
    - `name` string
    - `email` string
    - `referral_code` string
    - `language` string
    - `timezone` string
    - `notification_settings` string
    - `credits` integer
    - `pm_type` string
    - `pm_last_four` string
    - `cancel_reason` string
    - `referrer_url` string
    - `land_url` string
    - `has_password` boolean
    - `created_at` string
    - `updated_at` string
    - `banned_at` string
    - `password_changed_at` string

---

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