{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-directories-service-update-body-schema.json",
  "title": "Request to update a directory",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-directories-api-openapi.yml#/components/schemas/DirectoriesServiceUpdateBody",
  "properties": {
    "name": {
      "title": "The new name of the directory",
      "type": "string"
    },
    "parentDirectoryId": {
      "title": "The ID of the parent directory to move this directory under (UUID)",
      "type": "string"
    },
    "parentDirectoryIdDelete": {
      "title": "Move the directory to root level by removing its parent\nIf true, the parent_directory_id will be set to null",
      "type": "boolean"
    }
  },
  "type": "object"
}