3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

The node provides an operation to delete a specific "Fxs Template" entity from the 3CX telephony system. This is useful when you need to programmatically remove outdated or unwanted Fxs Templates by specifying their unique identifier. For example, in automated workflows managing telephony configurations, this node can help clean up templates that are no longer needed.

Properties

Name Meaning
Id The unique identifier of the Fxs Template to delete. Can be set dynamically via expressions like {{$json.Id}}. This property is required.
If Match Optional ETag header value used for concurrency control. It ensures the template is deleted only if it matches the specified version.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or any relevant status information returned by the 3CX API. There is no indication that binary data is output.

Dependencies

  • Requires an API key credential for authenticating with the 3CX telephony system.
  • The base URL for the 3CX API must be configured in the credentials.
  • The node sends requests to the /xapi/v1 endpoint of the 3CX server.

Troubleshooting

  • Missing or invalid Id: The delete operation requires a valid template ID. Ensure the Id property is correctly set and corresponds to an existing Fxs Template.
  • ETag mismatch error: If using the "If Match" property, an ETag mismatch may cause the delete to fail. Verify the ETag value matches the current version of the resource.
  • Authentication errors: Confirm that the API key credential is valid and has sufficient permissions to delete Fxs Templates.
  • Network or server errors: Check connectivity to the 3CX server and ensure the base URL is correct.

Links and References

  • 3CX API documentation (refer to the section on Fxs Templates management and deletion)
  • n8n documentation on creating HTTP request nodes and using credentials

Discussion