v1

latestOpenAPI 3.0.22026-07-26207170320.9 KB
Services

Update service

Update the service with the provided ID.

patch/services/{serviceId}

Request body

autoDeploy'yes' | 'no'
repostring
branchstring
namestring
rootDirstring

Example request

{
  "serviceDetails": {
    "plan": "starter"
  }
}

Response

OK

idstring required
autoDeploy'yes' | 'no' required
branchstring
createdAtstring date-time required
dashboardUrlstring required

The URL to view the service in the Render Dashboard

environmentIdstring
imagePathstring
namestring required
notifyOnFail'default' | 'notify' | 'ignore' required
ownerIdstring required
repostring
rootDirstring required
slugstring required
suspended'suspended' | 'not_suspended' required
suspendersSuspenderType[] required
type'static_site' | 'web_service' | 'private_service' | 'background_worker' | 'cron_job' required
updatedAtstring date-time required