---
title: "update endpoint"
method: PUT
path: "/api/v0/endptjobs/{id}/"
tags: ["Serverless"]
---

# update endpoint

`PUT /api/v0/endptjobs/{id}/`

Updates the specified endpoint group with the provided parameters.

CLI Usage: `vastai update endpoint <id> [options]`

## Path parameters

- `id` integer, required

## Request body

- object
  - `min_load` number — Minimum floor load in perf units/s (token/s for LLMs)
  - `target_util` number — Target capacity utilization (fraction, max 1.0)
  - `cold_mult` number — Cold/stopped instance capacity target as multiple of hot capacity target
  - `cold_workers` integer — Min number of workers to keep 'cold' when you have no load
  - `max_workers` integer — Max number of workers your endpoint group can have
  - `endpoint_name` string — Deployment endpoint name

## Response `200`

Success response

- object
  - `success` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
