Close CRM icon

Close CRM

Consume Close CRM API

Lead Status → Delete

AI-generated

Overview

This node operation deletes a lead status in the Close CRM system. It requires the ID of the lead status to be deleted and ensures that no leads are currently assigned to this status before deletion. This operation is useful for managing and cleaning up lead statuses that are no longer needed or relevant in the CRM workflow.

Use Case Examples

  1. Deleting an obsolete lead status to keep the CRM data clean.
  2. Removing a lead status that was created by mistake or is no longer used in the sales process.

Properties

Name Meaning
Status ID The ID of the lead status to delete. Make sure no leads are assigned this status first.

Output

JSON

  • success - Indicates if the deletion was successful
  • id - The ID of the deleted lead status

Dependencies

  • Requires an API key credential for Close CRM to authenticate API requests.

Troubleshooting

  • Error 'Status ID is required for delete operation' occurs if the Status ID parameter is missing; ensure the Status ID is provided.
  • If deletion fails due to leads assigned to the status, first reassign or remove those leads from the status before attempting deletion.
  • API errors may occur if the provided Status ID does not exist or the API key lacks permissions; verify the ID and credentials.

Links

Discussion