Coolify icon

Coolify

Interact with Coolify API

Overview

This node interacts with the Coolify API to manage various resources such as servers, applications, databases, deployments, and more. Specifically, for the Server resource with the Delete operation, it deletes a server identified by its ID from the Coolify platform.

Common scenarios where this node is useful include automating infrastructure management tasks like removing obsolete or decommissioned servers programmatically within workflows. For example, after a deployment pipeline finishes or when cleaning up test environments, this node can be used to delete servers without manual intervention.

Properties

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

Output

The node outputs a JSON array containing the response(s) from the Coolify API after attempting to delete the specified server(s). Each item in the output corresponds to the result of one deletion operation. The exact structure depends on the API's response but typically includes confirmation of deletion or error details.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Coolify API.
  • Needs an API authentication token configured in n8n credentials (referred generically as "an API key credential").
  • The node uses internal helper functions to make HTTP requests to the Coolify API endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing server ID: Ensure the "ID" property is correctly set and corresponds to an existing server.
    • 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 "server" is not implemented!" — indicates a misconfiguration or unsupported resource; verify the resource name.
    • "The operation "delete" is not implemented!" — indicates the operation is not recognized; ensure correct operation spelling.
    • API errors returned from Coolify (e.g., 404 Not Found if server ID does not exist) will be propagated; check the server ID and API access rights.

Links and References

Discussion