青龙面板[Qinglong] icon

青龙面板[Qinglong]

青龙面板计划任务节点.详细API请参考:https://qinglong.online/api/

Overview

This node integrates with the Qinglong Panel API to manage environment variables and other resources such as crontabs, subscriptions, scripts, dependencies, logs, and system settings. Specifically, for the "环境变量" (Environment Variable) resource with the "删除环境变量" (Delete Environment Variable) operation, it allows users to delete one or multiple environment variables from the Qinglong system.

Common scenarios where this node is beneficial include:

  • Automating cleanup of obsolete or sensitive environment variables.
  • Managing environment variables programmatically in batch workflows.
  • Integrating environment variable management into larger automation pipelines.

For example, a user can select multiple environment variables by their IDs and delete them in one execution, streamlining maintenance tasks.

Properties

Name Meaning
环境变量列表【可多选】 A multi-select list of environment variable IDs to delete. Users can choose one or more environment variables to remove. The options are dynamically loaded from the Qinglong system.

Output

The node outputs the result of the API call in the json field of the first item of the output data. The structure is:

{
  "result": <API response>
}

Where <API response> contains the response from the Qinglong API after attempting to delete the specified environment variables. This typically includes success confirmation or error details.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Qinglong Panel API.
  • The node uses internal helper functions to obtain an authentication token and make HTTP requests to the Qinglong API endpoints.
  • No additional external services beyond Qinglong API are required.
  • Proper configuration of the API credential in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials will cause authentication failures.
    • Specifying environment variable IDs that do not exist or have already been deleted may result in errors or no action.
    • Network connectivity issues to the Qinglong API endpoint can cause request failures.
  • Error messages:

    • If the operation is not implemented or recognized, the node throws an error indicating the operation is not supported.
    • API errors returned from Qinglong (e.g., permission denied, invalid parameters) are propagated and should be checked in the node's output.
  • Resolutions:

    • Verify API credentials and refresh tokens if needed.
    • Confirm the environment variable IDs exist before attempting deletion.
    • Check network access and firewall rules allowing communication with Qinglong API.
    • Review the node parameters carefully to ensure correct resource and operation selection.

Links and References

Discussion