RoboLedger: Taxonomy & Mapping

Delete Taxonomy Block

Delete a taxonomy block and return a thin confirmation. cascade_facts=True also deletes Fact rows that reference the taxonomy's elements; default False fails the delete if such facts exist. Library-origin block types surface 501.

Idempotency: supply an Idempotency-Key header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.

post/extensions/roboledger/{graph_id}/operations/delete-taxonomy-block

Request

  • Base URL: https://api.robosystems.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.robosystems.ai/extensions/roboledger/{graph_id}/operations/delete-taxonomy-block
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

graph_idstring required

Headers

Idempotency-Keystring nullable

Request body

taxonomy_idstring required

The taxonomy to delete.

cascade_factsboolean

When true, also deletes any Fact rows referencing elements in this taxonomy. When false (default), the operation fails with 422 if such rows exist.

reasonstring required

Human-readable justification (audit log).

Example request

{
  "reason": "Replaced by Acme CoA v2.",
  "taxonomy_id": "tax_acme_coa_legacy"
}

Response

Successful Response

operationstring required

Kebab-case operation name

operationIdstring required

op_-prefixed ULID for audit and SSE correlation

status'completed' | 'pending' | 'failed' required

Operation lifecycle state

atstring required

ISO-8601 UTC timestamp

createdBystring nullable

User ID that initiated the operation

idempotentReplayboolean

True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.

Changes

No recorded changes to this operation across all 1 revision of this API.