# Bulk update ontology with multiple operations Perform multiple operations on an ontology including updating metadata queries, categories, and bindings in a single transaction Endpoint: POST /accounts/{accountId}/ontologies/{ontologyId}/bulk-update Version: 1.0.0 Security: bearerAuth ## Path parameters: - `accountId` (string, required) Short account ID with scd- prefix Example: "scd-k2j8n4m1" - `ontologyId` (string, required) The ID of the ontology Example: "123e4567-e89b-12d3-a456-426614174001" ## Request fields (application/json): - `accountId` (string, required) Short account ID with scd- prefix Example: "scd-k2j8n4m1" - `ontologyId` (string, required) The ID of the ontology Example: "123e4567-e89b-12d3-a456-426614174001" - `operations` (object, required) - `operations.ontology` (object) - `operations.ontology.update` (object) - `operations.ontology.update.name` (string) Example: "Updated Research Document Ontology" - `operations.ontology.update.description` (string,null) Example: "Updated description for research document classification" - `operations.ontology.delete` (boolean) - `operations.metadataQueries` (object) - `operations.metadataQueries.create` (array) - `operations.metadataQueries.create.tempId` (string, required) Temporary ID for internal reference Example: "temp-key-001" - `operations.metadataQueries.create.dataType` (string, required) Enum: "STRING", "SHORT_STRING", "NUMBER", "BOOLEAN", "DATE" - `operations.metadataQueries.create.instructions` (string, required) Example: "Extract the full name of the primary author from the document header or byline" - `operations.categories` (object) - `operations.bindings` (object) ## Response 200 fields (application/json): - `success` (boolean, required) Example: true - `results` (object, required) - `results.ontology` (object) - `results.ontology.updated` (boolean) Example: true - `results.ontology.deleted` (boolean) - `results.metadataQueries` (object) - `results.metadataQueries.created` (array) - `results.metadataQueries.created.tempId` (string, required) Example: "temp-key-001" - `results.metadataQueries.created.id` (string, required) Example: "123e4567-e89b-12d3-a456-426614174001" - `results.metadataQueries.created.error` (string) Example: "Validation error: name is required" - `results.categories` (object) - `results.bindings` (object) - `errors` (array) ## Response 400 fields ## Response 401 fields ## Response 404 fields