update-endpoint
Update configuration of a RunPod serverless endpoint. Modify fields like image, workers, scaling, or environment variables without affecting unmentioned settings.
Instructions
Update a Serverless endpoint's config. On v2 you can change image/disk/env/ports/registry/workers/scaling/networkVolumes/timeout/flashboot; on v1, scaling fields (worker min/max, idle timeout, scaler type/value, name). Only provided fields change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | New environment variables (v2) | |
| args | No | New container args (v2) | |
| name | No | New name for the endpoint | |
| ports | No | New ports (v2) | |
| gpuCount | No | New GPUs per worker (v2) | |
| flashboot | No | New FlashBoot mode (v2) | |
| imageName | No | New Docker image (v2) | |
| endpointId | Yes | ID of the endpoint to update | |
| gpuPoolIds | No | New GPU pool names (v2), e.g. ["AMPERE_80"] | |
| scalerType | No | Scaler type | |
| workersMax | No | New maximum number of workers | |
| workersMin | No | New minimum number of workers | |
| idleTimeout | No | New idle timeout in seconds | |
| scalerValue | No | Scaler value | |
| networkVolumeIds | No | New network volume ids (v2) | |
| containerDiskInGb | No | New container disk size in GB (v2) | |
| executionTimeoutMs | No | New per-job execution timeout in ms (v2) | |
| containerRegistryAuthId | No | New container registry auth id (v2) |