Skip to content

Deployment

deployment_service_update

Update service fields

Tool

deployment_service_update

Update service fields

Update service fields

Behavior

HTTP
PATCH /deployment/services/:id

Arguments

NameTypeRequiredDescription
idstringNo description in the catalog.
namestringNo description in the catalog.
probesobjectNo description in the catalog.
sourceobjectNo description in the catalog.
replicasintegerNo description in the catalog.
resourcesobjectNo description in the catalog.
idleMinutesintegerNo description in the catalog.
scaleToZerobooleanNo description in the catalog.
containerPortintegerNo description in the catalog.
buildMachineTypestringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
namestring
slugstring
probesobject
sourceobject
replicasinteger
createdAtstring
dependsOnarray
resourcesobject
updatedAtstring
sleepStatestring
idleMinutesinteger
scaleToZeroboolean
containerPortinteger
environmentIdstring
buildMachineTypestring
suspendedByBillingboolean
lastReplicasRunninginteger
scaleToZeroEligibilityobject

Try it

Update service fields.

When to use

Update service fields

Example

Ask your agent something like this:

Update service fields.

The agent will invoke deployment_service_update with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect