onOffice icon

onOffice

onOffice custom node for n8n

Search Criterion → Delete

AI-generated

Overview

This node deletes a specific Search Criterion in the onOffice system based on the provided Search Criteria ID. It is useful for managing and cleaning up search criteria that are no longer needed or relevant in the onOffice platform.

Use Case Examples

  1. Deleting a saved search criterion by its ID to remove outdated or unused search filters.
  2. Automating the cleanup of search criteria in bulk by iterating over IDs and deleting them.

Properties

Name Meaning
Search Criteria ID The unique identifier of the Search Criterion to be deleted. This property is required to specify which search criterion should be removed.

Output

JSON

  • success - Indicates whether the deletion of the Search Criterion was successful.
  • deletedId - The ID of the Search Criterion that was deleted.

Dependencies

  • Requires an API key credential for onOffice API authentication to perform the delete operation.

Troubleshooting

  • Ensure the Search Criteria ID provided exists; otherwise, the node may return an error indicating the criterion was not found.
  • Check API credentials and permissions to confirm the node has rights to delete search criteria.
  • Common error messages may include authorization errors or not found errors if the ID is invalid or the user lacks permissions.

Discussion