NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Dialrule → Update Dialplan for Domain

AI-generated

Summary

Update the dialplan configuration for a specified domain in NetSapiens.

Inputs

  • domain (required) — Domain to update; selected from a list or entered as a domain name (e.g., example.com).
  • dialplan (required) — Identifier or name of the dialplan to set for the domain.
  • body — JSON payload containing the configuration details for the dialplan update.
  • refreshOptions — When true, bypasses cached dropdown values and fetches fresh options.

Output shape

a single domain resource

The response contains the updated domain details; errors are indicated by HTTP status codes.

Examples

Example 1: Update dialplan for example.com with a new configuration

Domain: example.com; Dialplan: "default"; Body: {"setting":"value"}; Refresh Options: false

Example 2: Refresh dropdown cache before selecting a domain

Refresh Options: true; select Domain from list; no other fields required

Links

Discussion