Update service
render_update_serviceUpdate an existing Render service's configuration by sending only the fields you want to change. Modify settings like branch, build command, or cron schedule without triggering a deploy.
Instructions
Update service. Update the service with the provided ID. Calls PATCH /services/{serviceId} on the Render Public API. Usage: serviceDetails branches are the PATCH variants of the same five service types, and the branch must still match the service's existing type — a service cannot change type. Nothing in the payload names that type, so the server cannot check the branch for you; read the service first if you are unsure. Send only the fields you are changing; omitted fields keep their current values. Changing a cron job's schedule or a service's build settings does not itself deploy — call render_create_deploy afterwards when the change needs a rebuild. Example — move a cron job's schedule to 04:30 UTC: {"serviceId":"srv-abc123","serviceDetails":{"schedule":"30 4 * * *"}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| repo | No | ||
| image | No | ||
| branch | No | ||
| rootDir | No | ||
| serviceId | Yes | The ID of the service | |
| autoDeploy | No | yes | |
| buildFilter | No | ||
| serviceDetails | No |