VocalDocscontracts 1.65.0

OrganizationUpdateRequest

Changes the name, the Call duration ceiling (1.21.0), the dial policy (1.22.0), the transfer allowlist (1.50.0) or the opt-in to production decision cases (1.59.0) of the Organization at the revision If-Match names; the revision advances by one. The slug and the status are not changed here: a Vocal operator sets the status through a command.

An object with 6 fields.

Fields

FieldTypeRequiredDescription
dial_policyDialPolicyInputnoChanges the dial policy (1.22.0, FR-telephony-5): each field given replaces its value. A Call in progress is never changed; the next start is checked against the new policy. The Audit event records the number of allowed countries before and after, and the premium-rate switch and the outbound cap before and after, never a phone number.
max_call_duration_sintegernoThe new Call duration ceiling in seconds, from 60 to 7,200 (1.21.0). Lowering it never changes a Call in progress, which keeps the maximum fixed at its admission, and changes no saved draft or published Agent version. Admission takes the lower of the limits.max_duration_s of the pinned version and the ceiling in force, so a Call on an earlier version is held to the new ceiling. A draft saved or published later with a maximum above the ceiling is refused with 422 validation_failed and the existing issue max_duration_above_organization_ceiling.
namestringnoThe new display name of the Organization (1.21.0).
preview_providersbooleannoTurns the opt-in to preview Providers on or off (1.60.0). A Call in progress keeps the chains it was admitted with; the Audit event records the value before and after.
production_decision_casesbooleannoWhether the Organization labels its own production Turns for decision corpora (1.59.0; decision-models.md section 9): when true, a production decision case copies the redacted caller text of a Turn of one of its Calls; when false, every production case is refused with decision_case_production_not_allowed. The owner turns it on only where the Organization's terms with its callers allow it. Turning it off keeps the cases already copied. The Audit event records the value before and after.
transfer_allowlistTransferAllowlistInputnoReplaces the transfer allowlist (1.50.0, FR-telephony-6). A number the dial policy refuses at the time of the change is the issue transfer_destination_not_dialable with the DialRefusalReason in reason, at /transfer_allowlist/<i>/number. A Call in progress keeps the destinations it was admitted with. Removing a key that a published Agent version names is allowed: a transfer to it is then refused with destination_not_allowed, and the next publish of that Agent refuses the key. The Audit event records the number of entries before and after, never an address.

Used by

The operations whose parameters, request body or responses name this shape directly.