Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contracts → Delete

AI-generated

Overview

This node interacts with the Dolibarr API to delete a specific contract by its ID. It is useful in scenarios where you need to programmatically remove contracts from the Dolibarr system, such as automating contract management workflows or cleaning up outdated contract records.

Use Case Examples

  1. Deleting a contract by specifying its Contract ID to automate contract lifecycle management.
  2. Removing contracts in bulk by integrating this node in a batch processing workflow.

Properties

Name Meaning
Contract ID The unique identifier of the contract to be deleted. This is a required numeric input with a minimum value of 1.
Request Options Additional settings for the HTTP request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • response - The full HTTP response from the Dolibarr API after attempting to delete the contract.

Dependencies

  • Dolibarr API with an API key credential for authentication

Troubleshooting

  • Ensure the Contract ID is valid and exists in the Dolibarr system to avoid 404 errors.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if requests fail due to network issues.
  • Adjust the timeout setting if the server response is slow to prevent premature request abortion.

Discussion