Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contact → Delete Categories

AI-generated

Overview

This node operation deletes a specific category from a contact in the Dolibarr system. It is useful for managing contact categorizations by removing unwanted or outdated category associations. For example, if a contact is no longer part of a marketing segment or customer group, this operation can remove that category from the contact's profile.

Use Case Examples

  1. Removing a 'VIP Customer' category from a contact who no longer qualifies.
  2. Deleting a 'Newsletter Subscriber' category when a contact opts out.

Properties

Name Meaning
Contact ID The unique identifier of the contact from which the category will be deleted.
Category ID The unique identifier of the category to be deleted from the contact.
Request Options Additional options to control the request behavior such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • success - Indicates whether the category deletion was successful.
  • statusCode - HTTP status code returned by the Dolibarr API for the delete request.

Dependencies

  • Requires Dolibarr API credentials for authentication.

Troubleshooting

  • Ensure the Contact ID and Category ID are valid and exist in the Dolibarr system to avoid 404 errors.
  • Check network connectivity and proxy settings if requests time out or fail to reach the Dolibarr API.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.

Discussion