---
title: "Update a dealer"
method: POST
path: "/dealers/{id}"
tags: ["Administration"]
---

# Update a dealer

`POST /dealers/{id}`

Modify the settings of the dealer.

## Path parameters

- `id` string, required — The unique ID of the resource.

## Request body

- object
  - `enabled` boolean — Enable this dealer or not.
  - `email` string — The email address.
  - `display_name` string — The display name of user.
  - `website` string — The website of user.
  - `phone` string — The mobile phone number of user.
  - `address` string — The address.
  - `description` string — The description of dealer.
  - `max_tenants` integer — The maximum number of tenants that the dealer is allowed to create.
  - `max_extensions` integer — The maximum number of extensions that the dealer is allowed to create.
  - `tenant_full_access` boolean — Whether or not the reseller is allowed to have full control over the tenant. This attribute is not valid if not modified by first level dealer.

## Response `200`

OK

## Other responses

- `4XX` — Error

---

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