Apps
Modify App
Update the configuration or metadata of a specific app.
PATCH
/
v2
/
projects
/
{project_id}
/
apps
/
{app_id}
curl --request PATCH \
--url https://rest.cerebrium.ai/v2/projects/{project_id}/apps/{app_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"compute": "<string>",
"cooldownPeriodSeconds": 123,
"cpu": "<string>",
"gpuCount": 123,
"maxReplicaCount": 123,
"memory": "<string>",
"minReplicaCount": 123,
"replicaConcurrency": 123,
"responseGracePeriodSeconds": 123
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
OK
curl --request PATCH \
--url https://rest.cerebrium.ai/v2/projects/{project_id}/apps/{app_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"compute": "<string>",
"cooldownPeriodSeconds": 123,
"cpu": "<string>",
"gpuCount": 123,
"maxReplicaCount": 123,
"memory": "<string>",
"minReplicaCount": 123,
"replicaConcurrency": 123,
"responseGracePeriodSeconds": 123
}'
Assistant
Responses are generated using AI and may contain mistakes.