Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation deletes a specified custom field and all its associated values from an account. It is useful in scenarios where you want to clean up or remove obsolete or incorrect custom fields from your data management system, ensuring that no residual data remains linked to the deleted field.

For example, if you have a custom field used for tracking a temporary campaign and that campaign has ended, you can use this operation to completely remove the custom field and all stored values related to it, keeping your dataset tidy.

Properties

Name Meaning
Account Id Identifier of the account from which the custom field will be deleted.
Custom Field Id Identifier of the custom field that you want to delete along with all its stored values.

Output

The output JSON typically contains confirmation details about the deletion operation. This may include status messages or identifiers confirming that the custom field and its values were successfully removed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the external service managing accounts and custom fields.
  • The node depends on a REST API endpoint provided by the external service to perform the deletion.
  • Proper configuration of the base URL and authentication credentials within n8n is necessary for successful execution.

Troubleshooting

  • Common Issues:

    • Invalid or missing Account Id or Custom Field Id will cause the operation to fail.
    • Insufficient permissions or invalid API credentials can result in authorization errors.
    • Network connectivity issues may prevent the node from reaching the external API.
  • Error Messages:

    • "Custom field not found": Verify that the Custom Field Id is correct and exists in the specified account.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is valid and properly configured.
    • "Account not found": Confirm that the Account Id is accurate and accessible with the current credentials.

Resolving these errors usually involves verifying input parameters, checking API credentials, and ensuring network connectivity.

Links and References

  • Refer to the external service’s API documentation for detailed information on deleting custom fields and required permissions.
  • Consult n8n documentation on how to configure API credentials and handle HTTP request nodes for similar operations.

Discussion