---
title: "Update an organization"
method: PATCH
path: "/v3/organizations/{id}"
tags: ["Organizations"]
---

# Update an organization

`PATCH /v3/organizations/{id}`

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

## Path parameters

- `id` string, required

## Request body

- OrganizationUpdateRequestModel
  - `name` string, nullable — Name of the organization. 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 organization.
  - `description` string, nullable — Description for the organization. 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 organization is allowed to create. Set to -1 to allow unlimited users.
  - `address` AddressRequestModel
    - `addressLine1` string, nullable — Address line1.
    - `addressLine2` string, nullable — Address line2.
    - `city` string, nullable — Address city.
    - `state` string, nullable — Address state.
    - `country` string, nullable — Address country.
    - `postalCode` string, nullable — Address postal code.
  - `resellerId` string, nullable — Unique identifier for the reseller.
  - `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

- OrganizationDto
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `organizationAlias` string, nullable
  - `name` string, required
  - `email` string, required
  - `description` string, required
  - `allowedUsers` integer, required
  - `address` AddressDto, required
    - `addressLine1` string, nullable
    - `addressLine2` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `country` string, nullable
    - `postalCode` string, nullable
  - `resellerId` string, nullable
  - `reseller` 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
  - `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)
