Easypanel icon

Easypanel

Interact with Easypanel API to manage projects, services, users, monitors and settings

Service → Update Redirects

AI-generated

Summary

Update a service’s redirects in Easypanel by submitting a list of regex match patterns, replacement URLs, and permanent redirect flags. The request targets the selected project and service, using the chosen service type’s update redirects API endpoint.

Inputs

  • Service Type — Select App, MariaDB, MongoDB, MySQL, PostgreSQL, or Redis; defaults to App and determines which service API endpoint is called.
  • Project Name (required) — Name of the project containing the service.
  • Service Name (required) — Name of the existing service to update.
  • Redirects — Add zero or more redirects. Each has a regex pattern to match, a replacement URL, and a Permanent flag (defaults to false, described as a 301 redirect). The list is sent as supplied; if no redirects are added, an empty list is sent.

Output shape

A single n8n output item per input item, containing the Easypanel API response data in its json field.

The operation sends a POST request to the selected service type’s updateRedirects endpoint. On failure, the node raises an API or operation error; with Continue On Fail enabled, it emits an item containing error details, resource, operation, and statusCode.

Links

Discussion