---
title: "Update a reseller"
method: PATCH
path: "/v3/resellers/{id}"
tags: ["Resellers"]
---

# Update a reseller

`PATCH /v3/resellers/{id}`

Updates the specified reseller by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

## Path parameters

- `id` string, required

## Request body

- ResellerUpdateRequestModel
  - `name` string, nullable — Name of the reseller. Any printable characters, including letters from any script, punctuation and emoji. Cannot contain line breaks, tabs, other control characters, invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.
  - `email` string, email, nullable — Notification email of the reseller.
  - `description` string, nullable — Description for the reseller. Any printable characters and line breaks. Cannot contain control characters other than tab, carriage return and line feed, nor invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.
  - `allowedUsers` integer, nullable — Max number of users the reseller is allowed to create. Set to -1 to allow unlimited users.
  - `allowedOrganizations` integer, nullable — Max number of organizations the reseller is allowed to create. Set to -1 to allow unlimited organizations.
  - `customAttributes` CustomAttributeValueRequestModel[], nullable — List of custom attribute name/value pairs.
    - `name` string, required — Letters (a-z, A-Z), numbers, underscores, hyphens and dots.
    - `value` string, required

## Response `200`

OK

- ResellerDto
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `name` string, required
  - `email` string, required
  - `description` string, required
  - `allowedUsers` integer, required
  - `allowedOrganizations` integer, required
  - `customAttributes` CustomAttributeValueDto[], required
    - `name` string, required
    - `dataType` 'string', required
    - `value` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Server Error

---

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