PATCH
/
models
/
v2
/
openai-community
/
{model}
curl --request PATCH \
  --url https://api.bytez.com/models/v2/openai-community/{model} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "capacity": {
    "desired": 123
  }
}'

Authorizations

Authorization
string
header
required

Provide your API key as Key your-key-here in the Authorization header.

Path Parameters

model
string
required

The specific model to update (e.g., gpt2).

Body

application/json
Specify the new configuration for the cluster.
capacity
object
required

Response

200

Cluster updated successfully.