{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-organizations/json-schema/amazon-organizations-update-organizational-unit-request-schema.json",
  "title": "UpdateOrganizationalUnitRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-organizations-organizational-unit-api-openapi.yml#/components/schemas/UpdateOrganizationalUnitRequest",
  "type": "object",
  "properties": {
    "OrganizationalUnitId": {
      "type": "string",
      "description": "ID for the OU that you want to rename. You can get the ID from the ListOrganizationalUnitsForParent operation. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits."
    },
    "Name": {
      "type": "string",
      "description": "The new name that you want to assign to the OU. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range."
    }
  },
  "required": [
    "OrganizationalUnitId"
  ]
}