Update a reseller

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

PATCH/v3/resellers/{id}
JWTreseller:write

Path parameters

idstringrequired

Unique identifier for the reseller.

Request body

namestring

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.

Length: [1,256]Pattern: ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$

emailstring

Notification email of the reseller.

Length: [1,256]Format: email

descriptionstring

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.

Length: [0,256]Pattern: ^(?!\s)(?![\s\S]*\s$)(?:[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]|[\t\n\r])+$

allowedUsersinteger

Max number of users the reseller is allowed to create. Set to -1 to allow unlimited users.

Range: [-1, 2147483647]Format: int32

allowedOrganizationsinteger

Max number of organizations the reseller is allowed to create. Set to -1 to allow unlimited organizations.

Range: [-1, 2147483647]Format: int32

customAttributesarray of object

List of custom attribute name/value pairs.

Response

200 OK

idstringrequired
createdAtstringrequired

Format: date-time

updatedAtstringrequired

Format: date-time

namestringrequired
emailstringrequired
descriptionstringrequired
allowedUsersintegerrequired

Format: int32

allowedOrganizationsintegerrequired

Format: int32

customAttributesarray of objectrequired