mittwald API icon

mittwald API

Interact with the mittwald API

Actions125

Container → Update Service

AI-generated

Summary

Update an existing container service within a specified project by modifying properties such as the image, command, entrypoint, ports, volumes, environment variables, and description.

Inputs

  • Project (required) — The project in which the container service exists, identified by selection from a list or by entering its UUID or short ID.
  • Service Name (required) — The name of the service to update, up to 63 characters.
  • Image — The Docker image to use for the service.
  • Command — Comma-separated docker command values to run in the container.
  • Entrypoint — Comma-separated docker entrypoint values for the container.
  • Ports — Comma-separated port mappings, e.g., '8080:80/tcp'.
  • Volumes — Comma-separated volume mounts, e.g., 'data:/var/www'.
  • Environment — Multiple environment variables as name-value pairs to set inside the container.
  • Description — A textual description for the service.

Output shape

A single record representing the updated container service.

Returns the updated service details upon success. Requires specifying the project and service name. Optional parameters update only the provided fields; fields left empty retain their current values.

Links

Discussion