Administration

Update a dealer

Modify the settings of the dealer.

post/dealers/{id}

Path parameters

idstring required

The unique ID of the resource.

Example:NzAwNTUxOTA5NzczMTQ4MTYw

The unique ID of the dealer.

Request body

enabledboolean

Enable this dealer or not.

emailstring

The email address.

display_namestring

The display name of user.

websitestring

The website of user.

phonestring

The mobile phone number of user.

addressstring

The address.

descriptionstring

The description of dealer.

max_tenantsinteger

The maximum number of tenants that the dealer is allowed to create.

max_extensionsinteger

The maximum number of extensions that the dealer is allowed to create.

tenant_full_accessboolean

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.

Example request

{
  "email": "example@example.com"
}

Response

OK