---
title: "Update Account"
method: PATCH
path: "/v1/accounts/{account_id}"
tags: ["Reseller"]
---

# Update Account

`PATCH /v1/accounts/{account_id}`

Updates the details of a specific account.

## Path parameters

- `account_id` integer, required

## Request body

- AccountUpdateParameters — Update Account
  - `name` string — Name of the account
  - `subdomain` string — Subdomain this account will use to access the Huntress portal
  - `phone_number` string — Primary phone number used to contact account owner
  - `support_type` 'huntress_supported' | 'partner_supported' — Specifies whether a reseller account is managed by the partner or by Huntress. NOTE: This field is only applicable for Managed Resellers. For all other types of resellers, there is only one valid support type, so it cannot be updated.
  - `billing_address` object — Billing address for the account. If provided, must be valid.
    - `line1` string — Street address line 1
    - `line2` string — Street address line 2
    - `city` string — City
    - `state` string — State or province (required for US and CA)
    - `postal_code` string — Postal or ZIP code (required for US and GB)
    - `country` string — Two-letter ISO 3166-1 alpha-2 country code
  - `shipping_address` object — Shipping address for the account. If provided, must be valid.
    - `line1` string — Street address line 1
    - `line2` string — Street address line 2
    - `city` string — City
    - `state` string — State or province (required for US and CA)
    - `postal_code` string — Postal or ZIP code (required for US and GB)
    - `country` string — Two-letter ISO 3166-1 alpha-2 country code

## Response `200`

Update Account

- object
  - `account` Account — Account model
    - `id` integer — A unique identifier for the account.
    - `name` string — The public facing display name for the account.
    - `subdomain` string — The subdomain for the account.
    - `status` 'enabled' | 'disabled' — The current status of the account.
    - `support_type` 'huntress_supported' | 'partner_supported' | 'not_applicable' — For accounts that have been provisioned through a reseller, this field indicates whether the account is huntress supported or partner supported.
    - `neighborhood_watch` unknown
    - `billing_address` Address
      - `line1` string — Street address line 1.
      - `line2` string — Street address line 2.
      - `city` string — City.
      - `state` string — State or province. Required for US and CA addresses.
      - `postal_code` string — Postal or ZIP code. Required for US and GB addresses.
      - `country` string — Two-letter ISO 3166-1 alpha-2 country code.
    - `shipping_address` Address
      - `line1` string — Street address line 1.
      - `line2` string — Street address line 2.
      - `city` string — City.
      - `state` string — State or province. Required for US and CA addresses.
      - `postal_code` string — Postal or ZIP code. Required for US and GB addresses.
      - `country` string — Two-letter ISO 3166-1 alpha-2 country code.

## Other responses

- `403` — There was an issue with your API credential or permissions.
- `422` — Invalid parameters or unable to update model

---

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