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.

Practical examples include:

  • Removing a deprecated custom field used for user preferences that are no longer relevant.
  • Cleaning up custom fields after a data migration or restructuring process.
  • Ensuring compliance by deleting sensitive custom fields and their data.

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 to delete along with all its 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 or similar authentication token to authorize requests against the external service managing accounts and custom fields.
  • The node depends on a REST API endpoint (base URL configured via credentials) that supports deleting custom fields.
  • 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 can cause the operation to fail.
    • Insufficient permissions or invalid API credentials may result in authorization errors.
    • Network connectivity problems can prevent communication with the external API.
  • Error messages and resolutions:

    • "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 or authentication token is valid and properly configured.
    • "Account not found": Confirm the Account Id is accurate and accessible with the provided credentials.
    • Timeout or network errors: Ensure stable internet connection and that the API endpoint is reachable.

Links and References

  • Refer to the external service’s API documentation for detailed information on deleting custom fields.
  • Consult n8n documentation on setting up API credentials and configuring HTTP request nodes for further customization.

Discussion