Coolify icon

Coolify

Interact with Coolify API

Overview

This node integrates with the Coolify API to manage various resources such as applications, databases, deployments, and more. Specifically, for the Database resource with the Delete operation, it deletes a database identified by its ID. This is useful in scenarios where you need to programmatically remove databases from your Coolify-managed infrastructure, for example, cleaning up unused or test databases automatically.

Practical examples include:

  • Automating database lifecycle management in CI/CD pipelines.
  • Removing obsolete databases during environment teardown.
  • Integrating database deletion into broader infrastructure automation workflows.

Properties

Name Meaning
ID The unique identifier of the database to delete. This is a required string input that specifies which database will be removed.

Output

The node outputs an array of JSON objects representing the results of the delete operations performed on the input items. Each object corresponds to one deletion attempt and typically contains confirmation details or status information returned by the Coolify API about the deleted database.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the Coolify API via an API key credential configured in n8n.
  • The node depends on the Coolify API endpoints to perform actions; thus, network connectivity and valid authentication are necessary.
  • No additional external services beyond Coolify are required.

Troubleshooting

  • Common issues:

    • Invalid or missing database ID: Ensure the "ID" property is correctly set and corresponds to an existing database.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or API downtime: Check connectivity and Coolify service status.
  • Error messages:

    • "The resource "database" is not implemented!" — indicates a misconfiguration or internal error; verify the resource selection.
    • "The operation "delete" is not implemented!" — suggests the operation name might be incorrect or unsupported; confirm the operation parameter.
    • API response errors (e.g., 404 Not Found) when the database ID does not exist; double-check the ID value.

Resolving these usually involves verifying input parameters, credentials, and network conditions.

Links and References

Discussion