NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Auto Attendant → Delete Specific Auto Attendant

AI-generated

Summary

Delete a specific auto attendant by removing its associated domain, user, and prompt.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • DeleteDomainsByUsersByAutoattendantsBy__path__domain (required) — Domain associated with the auto attendant to delete
  • DeleteDomainsByUsersByAutoattendantsBy__path__user (required) — User ID whose auto attendant entries will be removed
  • DeleteDomainsByUsersByAutoattendantsBy__path__prompt (required) — Prompt text for the auto attendant

Output shape

no body — success/failure only

Returns 204 No Content on success; may return 404 if the auto attendant does not exist.

Examples

Example 1: Delete an auto attendant for domain example.com, user 1001, with custom prompt 'Main greeting'.

Set DeleteDomainsByUsersByAutoattendantsBy__path__domain to 'example.com', DeleteDomainsByUsersByAutoattendantsBy__path__user to '1001', DeleteDomainsByUsersByAutoattendantsBy__path__prompt to 'Main greeting', optionally enable refreshOptions.

Example 2: Force fresh dropdown options before deletion.

Set refreshOptions to true while providing domain, user, and prompt values.

Example 3: Attempt deletion without required domain parameter.

Omitting DeleteDomainsByUsersByAutoattendantsBy__path__domain results in validation error.

Links

Discussion