---
title: "Update user account settings"
method: PATCH
path: "/v1/account/me"
tags: ["Account"]
---

# Update user account settings

`PATCH /v1/account/me`

Update your user account information

## Request body

- UpdateAccountMeRequest
  - `firstname` string — User's first name
  - `lastname` string — User's last name
  - `email` string — User's email address
  - `twofactor_enabled` boolean — Whether two factor authentication is enabled dor the user
  - `tax_id` string — Tax ID of the user (only available for account_owner and billing_admin roles)

## Response `200`

OK

- GetAccountMeResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `result` object
    - `client` object
      - `firstname` string — User's first name
      - `lastname` string — User's last name
      - `email` string — User's email address
      - `id` string, uuid — User's ID
      - `password_set` boolean — If a password has not been set, POST /users/{user_id}/password will need to be used to set one
      - `twofactor_enabled` boolean — Whether two factor authentication is enabled for the user
      - `twofactor_required` boolean — This user is required to use Two factor authentication by the account owner
      - `roles` UserRole[] — Roles the user has
      - `access_level` 'user' | 'site' | 'site_user' — Access level of the user
      - `tax_id` string — Tax ID of the user (only available for account_owner and billing_admin roles)
    - `package` object
      - `package_id` integer — ID of the hosting plan
      - `account_balance` number — Balance of the account (negative is credit, positive is a balance due)
      - `account_type` 'managed' | 'reseller' — Managed Hosting or Reseller Hosting
      - `plan` string — Name of the hosting plan
      - `start_date` string — Date the account was created
      - `next_due_date` string — Date the next billing cycle is due
      - `over_due_invoices` object[] — If the account has any overdue invoices, their ids and due dates will be shown here
        - `id` integer — ID of the invoice
        - `due_date` string — Date the invoice was due
        - `total` number — Total amount of the invoice
    - `usage` object
      - `visitors` number — Number of visitors for all sites
      - `disk` number — Disk Usage for all sites in kb
      - `bandwidth` number — Bandwidth Usage for all sites in kb
      - `sites` integer — Number of sites in the account
    - `limits` object
      - `visitors` integer — Maximum number of visitors allowed in the account - 0 == unlimited
      - `disk` integer — Disk Usage Limit for all sites in kb
      - `bandwidth` integer — Bandwidth Usage Limit for all sites in kb
      - `sites` integer — Maximum number of sites allowed in the account
    - `tasks` union[]
      - union
        - SiteTaskWithSiteInfo
          - `id` string, uuid — ID of this task
          - `task_status` 'DONE' | 'ERROR' | 'NEW' | 'PROGRESS' — Current state/status of the task
          - `site_id` integer — ID of the Site the task is acting on
          - `perc` integer — Percentage of completion
          - `updated` string — Time stamp of when the record was last updated
          - `created` string — Time stamp of when the record was created
          - `message` string — Information about the task. Errors if it failed
          - `task_type` 'automated_restore' | 'backup' | 'clone_site' | 'cloud_backup_create' | 'cloud_backup_restore' | 'publish' | 'restore' | 'staging' — Type of task
          - `task_level` 'account' | 'site' — Level at which the task exists
          - `meta_data` string — dictionary of data with more information about the task such as cloned_site_id or template_replacements
          - `site_info` object, required
            - `id` integer, required — ID of the Site you are interacting with
            - `domain` string, required — Main domain of the site
            - `display_domain` string, required — Main domain of the site -- Including UTF-8 characters
        - AccountTaskMeCall
          - `id` string, uuid — ID of this task
          - `task_status` 'DONE' | 'ERROR' | 'NEW' | 'PROGRESS' — Current state/status of the task
          - `account_user_id` integer — ID of the account the task belongs to
          - `user_id` string — ID of the user who created the task
          - `perc` integer — Percentage of completion
          - `updated` string — Time stamp of when the record was last updated
          - `created` string — Time stamp of when the record was created
          - `message` string — Information about the task. Errors if it failed
          - `task_type` 'create_site_from_template' | 'create_site_template' — Type of task. create_site_from_template = create a new site from a site template
          - `meta_data` string — dictionary of data with more information about the task such as site_id or template_id
          - `task_level` 'account' | 'site' — Level at which the task exists
    - `pending_site_transfers` CustomerSiteTransfer[]
      - `transfer_id` string, uuid — ID of the site transfer
      - `domain` string — Domain of the site transfer
      - `requires_plan_upgrade` boolean — Whether the transfer requires a plan upgrade so a new site can be added to the account
      - `transferring_user` object
        - `firstname` string — First name of the user initiating the transfer
        - `lastname` string — Last name of the user initiating the transfer
      - `transfer_to_user` object
        - `email` string — Email of the user the site is being transferred to
      - `transfer_type` 'incoming' | 'outgoing' — Type of site transfer
      - `site_id` integer — ID of the site being transferred
      - `status` 'created' | 'accepted' | 'rejected' | 'cancelled' — Status of the customer site transfer
      - `created_at` string — Date and time of when the site transfer was created
      - `updated_at` string — Date and time of when the site transfer was last updated

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `405` — Invalid input
- `500` — Internal error

---

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