---
title: "Update a hosting account"
method: PUT
path: "/api/reseller/hosting-accounts/{id}"
tags: ["Reseller - Hosting Accounts"]
---

# Update a hosting account

`PUT /api/reseller/hosting-accounts/{id}`

Update the specified resource in storage.

## Path parameters

- `id` integer, required

## Request body

- object
  - `hosting_plan_id` integer — ID of the hosting plan
  - `ssh_access` boolean — SSH access enabled
  - `name` string — Account holder name
  - `phone` string — Phone number
  - `address` string — Street address
  - `city` string — City
  - `state` string — State/Province
  - `zip` string — Postal/ZIP code
  - `country` string — Country
  - `company` string — Company name

## Response `200`

Success

- HostingAccount
  - `id` integer
  - `domain` string, required
  - `hosting_plan_id` integer, required
  - `reseller_id` integer
  - `username` string
  - `ssh_access` boolean
  - `password` string — Write-only. Never returned in responses.
  - `description` string
  - `setup_date` string, date-time
  - `expiry_date` string, date-time
  - `renewal_date` string, date-time
  - `is_auto_ssl_enabled` boolean
  - `is_suspended` boolean
  - `name` string
  - `phone` string
  - `address` string
  - `city` string
  - `state` string
  - `zip` string
  - `country` string
  - `company` string

## Other responses

- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation.md) · [All operations](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adminbolt/adminbolt-api-documentation/revisions/bf4f36fbfbd3/schema)
