Export the discovered accounting routes as a tenant policy document
Headers
Query Parameters
Response
OK
What the discovery found for the organization: complete (every canonical route; the entry is enabled with the three flows, and its ledgers list this ledger plus the ones already stored for the organization), not_provisioned (no canonical route; the entry is disabled and lists no ledger) or the accounting_routes_* reason of its refusal.
"complete"
The routing.organizations document to write: the stored organizations unchanged, with this organization's entry replaced or appended. It has passed the same parser the write goes through. Send it as {"value": } to PUT /tenant-system/tenant_policy/routing.organizations. Absent when exportable is false.
Why exportable is false: an accounting_routes_* reason of the discovery (accounting_routes_incomplete, accounting_routes_ambiguous, accounting_routes_malformed, accounting_routes_dependency_unavailable, accounting_routes_access_denied or accounting_routes_unreadable), tenant_policy_document_invalid (the stored document is refused by the parser: replace it first) or tenant_policy_document_full (the stored document already lists 100 organizations, none of them this one). Absent when exportable is true.

