VICIdial icon

VICIdial

Interact with VICIdial Non-Agent API

Phone DID Management → Delete Dnc Phone

AI-generated

Summary

Delete a designated DNC (Do Not Call) phone number from the VICIdial system.

Inputs

  • baseURL (required) — The base URL for the VICIdial API, excluding the trailing /vicidial.
  • function (required) — Specifies the API function to delete a DNC phone, automatically set to delete_dnc_phone.
  • user — The username for the VICIdial credential, auto-filled.
  • pass — The password for the VICIdial credential, auto-filled.
  • source — Defaults to the source defined in the VICIdial credential.
  • phone_number (required) — The phone number to be deleted, must be 6-16 digits.
  • campaign_id (required) — The ID of the campaign associated with the phone number.
  • requestOptions — Optional settings for the request including batching and timeout.

Output shape

no body — success/failure only

Successful execution does not return any data. Ensure to handle error responses for validation.

Discussion