onOffice icon

onOffice

onOffice custom node for n8n

Relation → Delete

AI-generated

Overview

This node operation deletes a specified relation between two entities in the onOffice system. It is useful for scenarios where you need to remove a link or association, such as unlinking an address from an estate or removing a calendar entry related to an address. For example, if you want to delete the relation between a parent estate and a child address, you specify their IDs and the type of relation to be deleted.

Use Case Examples

  1. Deleting the relation between an estate (parent) and an address (child) when the address is no longer associated with the estate.
  2. Removing a calendar entry relation linked to a specific address.

Properties

Name Meaning
Parent ID The ID of the parent entity in the relation, such as an estate ID or appointment ID.
Child ID The ID of the child entity in the relation, such as an address ID.
Relation Type The type of relation to delete, specifying the nature of the link between the parent and child entities. Examples include address-user sync, agents log relations, calendar relations, and various estate-address relations.

Output

JSON

  • success - Indicates whether the deletion of the relation was successful.
  • message - Additional information or confirmation message about the deletion operation.

Dependencies

  • Requires an API key credential for onOffice API authentication.

Troubleshooting

  • Ensure that the Parent ID and Child ID are correct and exist in the onOffice system to avoid errors related to non-existent entities.
  • Verify that the Relation Type selected matches the actual relation between the entities; incorrect relation types may cause the deletion to fail.
  • Check API authentication credentials if the node fails to connect or perform the deletion operation.

Discussion